JSON.parse(...) is undefined

Hello,
I get always the error message “JSON.parse(…) is undefined” even though my application seems to get the data.
Maybe I am missing something, thanks for your help :slight_smile:

The code to this error:
this.employee = JSON.parse(data._body, (key, value) =>
{ if (key == “employee_name”)
{ alert(value);
}
}).employees;


Hovewer this code here is not throwing the “JSON.parse(…) is undefined” error:
this.profileInfo = JSON.parse(data._body).remployees;