Difference between revisions of "JSON"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
http://www.json.org/ |
http://www.json.org/ |
||
+ | |||
+ | Binary JSON (format binaire de objets JSON) : http://bsonspec.org/ |
||
==API== |
==API== |
Revision as of 14:37, 10 April 2013
JSON (JavaScript Object Notation)
Binary JSON (format binaire de objets JSON) : http://bsonspec.org/
API
Java
http://code.google.com/p/google-gson/
Javascript & Node.js
var vcard = { lastname: "DONSEZ", firstname: "Didier", birthday: new Date(), email: "dd@moi.org", phones: ["+33 123456789", "+33 653456789"], }; var message = JSON.stringify(vcard); var vcard2 = JSON.parse(message);