After retrieving JSON data from a remote URL, I encountered the following:
{"myitems":[{"NAME":"JOHN"},{"NAME":"MICHAEL"},{"NAME":"CATTY"},{"NAME":"DAVID"}]}
I am trying to parse this in JavaScript using:
JSON.parse(mydata);
However, I keep encountering the error:
Invalid Character
What should be my next step?