Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Revisions

3 of 3
http://www.json.org/json2.js was remapped to https://github.com/douglascrockford/JSON-js/blob/master/json2.js by Jarrod Dixon (3)

Not sure I fully understand your question, but if you are trying to convert the object into a string of JSON then you probably want to look at the native JSON support in all the new browsers. Here's Resig's post on it. For browsers that don't yet support it try the json2.js library. JSON.stringify(obj) will convert your object to a string of JSON.

Jerry
  • 573
  • 5
  • 13

AltStyle によって変換されたページ (->オリジナル) /