JSON (pronounced like the English given name Jason), which stands for "JavaScript Object Notation", is a lightweight computer data interchange format. JSON is a subset of the object literal notation of JavaScript but its use does not require JavaScript. JSON's simplicity has resulted in its widespread use, especially in AJAX. In JavaScript, JSON can be parsed trivially using the eval() procedure. This was important for the acceptance of JSON within the AJAX programming community because of JavaScript's ubiquity among web browsers. (from Wikipedia:JSON)
JSON is one of the hot topics at AJAXWorld conference, Santa Clara, CA, Oct 2006.
-- PeterThoeny - 04 Oct 2006
I am looking for a way to way to write a JSON string from javascript to a topic. Any ideas?
-- ArthurClemens - 06 Nov 2006
That looks pretty easy: Have a look at the JSON stringifier at http://www.json.org/js.html, for download http://www.json.org/json.js. Simply use the toJSONString method to fill a text area, or in a document.write. Or did I miss something?
-- HaraldJoerg - 06 Nov 2006
But will the string be saved in the topic?
-- ArthurClemens - 06 Nov 2006
JSPopupPlugin and InlineEditPlugin use the CPANJSON module to bring the JSON string into a perl object. Arthur, can you be more specific? saved as a string, or saved somehow differently?
-- SvenDowideit - 06 Nov 2006
I was thinking to TWikify this js outliner: http://www.decafbad.com/2005/07/map-test/tree2.html. Would be nice to save the ouliner every time the input field loses focus.
-- ArthurClemens - 06 Nov 2006