Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

http://www.json.org/json_parse.js

// This is a function that can parse a JSON text, producing a JavaScript

// data structure. It is a simple, recursive descent parser. It does not use

// eval or regular expressions, so it can be used as a model for implementing

// a JSON parser in other languages.



Yes, but even better would be to use jQuery's excellent JSONP method.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: