professional-ajax-07-General-JSON-Examples-JSONEncodingExample.htm / htm
<html> <head> <title>JSON Encoding Example</title> <script type="text/javascript" src="json.js"></script> </head> <body> <script type="text/javascript"> var oCar = new Object(); oCar.doors = 4; oCar.color = "blue"; oCar.year = 1995; oCar.drivers = new Array("Penny", "Dan", "Kris"); document.write(JSON.stringify(oCar)); </script> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.