67
rated 0 times
[
70]
[
3]
/ answers: 1 / hits: 31047
/ 9 Years ago, wed, july 8, 2015, 12:00:00
I want to parse a JSON string in JavaScript. The response is something like
var response = '{1:10,2:10}';
How can I get the each key and value from this json ?
I am doing this -
var obj = $.parseJSON(responseData);
console.log(obj.count);
But i am getting undefined
for obj.count
.
More From » json