{"id":11,"date":"2006-10-07T23:40:52","date_gmt":"2006-10-08T07:40:52","guid":{"rendered":"http:\/\/www.codebelay.com\/blog\/?p=11"},"modified":"2007-03-13T07:46:20","modified_gmt":"2007-03-13T15:46:20","slug":"an-easier-way-to-parse-json","status":"publish","type":"post","link":"https:\/\/www.codebelay.com\/blog\/2006\/10\/07\/an-easier-way-to-parse-json\/","title":{"rendered":"An easier way to parse JSON"},"content":{"rendered":"<p>I&#8217;m currently a big fan of this syntax for parsing and writing JSON.<\/p>\n<p>In the past, you used to have to do eval on your JSON coming in, and that posed a great security risk. Now you can use string.parseJSON and object.toJSONString by using this script:<\/p>\n<p><a title=\"http:\/\/www.json.org\/json.js \" target=\"_blank\" href=\"http:\/\/www.json.org\/json.js\">http:\/\/www.json.org\/json.js <\/a><\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m currently a big fan of this syntax for parsing and writing JSON. In the past, you used to have to do eval on your JSON coming in, and that posed a great security risk. Now you can use string.parseJSON and object.toJSONString by using this script: http:\/\/www.json.org\/json.js Enjoy!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-how-to"],"_links":{"self":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":0,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}