-
JSON Parser Not prasing the array in JSON
over 8 years ago
-
over 8 years ago
JSON.parse() should parse arrays just fine, assuming your string is valid JSON.
For instance,
var a = JSON.parse("[1,2,3]");
should set a equal to
[1, 2, 3]
Can you post your actual JSON string?
-
1 Answer(s)