Loading ...
Sorry, an error occurred while loading the content.

895Re: json2.js

Expand Messages
  • Ric Johnson
    Oct 30, 2007
      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 json@yahoogroups.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
    • Show all 15 messages in this topic