×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: userc865b
Added: Aug 30, 2017 2:47 PM
Views: 0
Tags: js
converts jSon formated String into JavaSript object
  1. var json = '{"result":true,"count":1}',
  2.     obj = JSON.parse(json);
  3.  
  4. alert(obj.count);