Home JAVASCRIPT how to parse json in javascript
Example :
var json = ‘{“result”:true,”count”:1}’,
obj = JSON.parse(json);
alert(obj.count);
For the browsers that don’t you can implement it using json2.js.

You may also like

Leave a Comment