I am making a asynchronous request to my server and its returning an array as a string.
The string is in the proper array form for example:
"[{"spo":"I"},{"spo":"hate"},{"spo":"computers"}]"
Is there a way to simply create an array from this string?
That’s a JSON string, you can create an array from it with:
In older browsers you may need to include the json2.js.