Knowledge Walls
John Peter
Pune, Maharashtra, India
How to convert JSON string to Javascript Object in Javascript with Example
1977 Views
JSON.parse(JSON String) 
JSON.parse() method is used to convert JSON string to Javascript Object in Javascript. See below example and try it your self with demo to understand more.
Example
var jsonString = '["Raja","Siva","Kumar","Sarathy"]';

var jsonObject = JSON.parse(jsonString);
document.write(jsonObject);
Demo & Output 
Best Lessons of "Good Javascript Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details