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?
var x = '[1,2,3]';alert(eval(x));
. That's how it was done in pre-JSON browsers.