JSON

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 https://www.json.org.