JSON

This is an old revision of this page, as edited by Minghong (talk | contribs) at 10:05, 6 March 2005 (JavaScript must be spelled as "JavaScript", not "Javascript"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

JSON, which stands for "JavaScript object notation", is a lightweight data interchange format. JSON has the advantage, over XML, as a data interchange format in that it can be trivially parsed, by JavaScript, with JavaScript's built in eval() procedure. (This is important because of JavaScript's ubiquitousness amoung web browsers.) JSON is JavaScript's object literal format.

Using JSON

JSON is useful as a data-interchange format because it can be trivially parsed, by JavaScript built in eval() procedure. For example:

   eval("the_object = " + json_data + ";");

JSON Pronunciation

JSON is pronounced like the name "Jason".