JSON: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


For more general information about JSON, see http://www.json.org.
For more general information about JSON, see http://www.json.org.
[[Category:Scripting Concepts]]

Revision as of 16:43, 8 May 2008

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.

MTA uses JSON in a number of places, most significantly it is used for communication over HTTP. See Resource Web Access. You can encode JSON strings in the server using toJSON and decode them using fromJSON.

For more general information about JSON, see http://www.json.org.