← All Articles

How to Parse Json in JavaScript

Posted on

As already stated in the post about how to write json in javascript, JSON is an integral part of the JavaScript language.

Thus it should come as no surprise that parsing json is equally easy.

var obj = JSON.parse('{"name":"Claus Witt","type":"Humanoid","tags":["awesome","lazy"]}');