896Re: [json] Re: json2.js
- Oct 31, 2007Great job, Douglas.
There is a typo in the initial multiline comment at line 57, it says
On 10/30/07, Ric Johnson <RicJohnsonIII@...> wrote:
> Thank you for implmenting this. this make the code so much cleaner.
> Now if we can just get the Prototype library to stop overloading
> --- In email@example.com <json%40yahoogroups.com>, "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).
> > http://www.JSON.org/json2.js
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>