I\'m bashing my head against an error I can\'t work out how to fix. I have the following;
JSON
{\"products\": [ { \"product_id\" : \"123
data needs to be Json object, to do so please make sure the follow:
data = $.parseJSON(data);
Now you can do something like:
data.map(function (...) { ... });
I hope this help some one