An easier way to parse JSON

by barce on October 7, 2006

I’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!

Leave a Comment

Previous post:

Next post: