- Oct 30, 2007Thank you for implmenting this. this make the code so much cleaner.
Now if we can just get the Prototype library to stop overloading
--- In firstname.lastname@example.org, "Douglas Crockford" <douglas@...> wrote:
> The original version of json.js had a JSON object containing
> and parse methods. When the opportunity to add JSON support to the
> next proposed standard for ECMAScript, the methods changed to
> and parseJSON.
> In retrospect, I think the original form was better. I have posted
> json2.js which has JSON.stringify (which looks for the presence of
> toJSON method in the objects it stringifies), and JSON.parse (which
> can still accept a filter function).
- << Previous post in topic Next post in topic >>