JSON: Difference between revisions

[pending revision][pending revision]
Content deleted Content added
No edit summary
Line 13:
'''JSON''' is useful as a data-interchange format in [[AJAX]] applications because it can be trivially parsed by JavaScript's built in [[eval]]() procedure. For example:
 
myObject = eval("the_object =return " + json_data + ";");
 
Typically, one would get the ''JSON'' data from a web server using the [[XMLHttpRequest]] object. For example: