JSON logo

JSON Format

CategoryData Interchange Format

JavaScript Object Notation (JSON) is a a lightweight data interchange format — easy for developers to read and write, and easy for browser and mobile applications to interpret and process. It is text-based and uses common conventions that are familiar to programmers.


Specification


Universal Data Serialization


Portable Representation of Structured Data

JSON is a widely-adopted, text-based data representation and interchange format, derived from the object literals defined in the JavaScript language.

JSON is built on two universal data structures: object — a collection of name/value pairs, and array — an ordered list of values. Virtually all modern programming languages support them in one form or another, including C/C++, Java, Lua, Python and Tcl.

The format also can represent four primitive types: string — a sequence of zero or more Unicode characters, number — a base 10 decimal, booleantrue or false, and null. Such reduced type set is simple yet sufficient for most computing use cases.

JSON serves dual purpose: while applications and libraries can parse JSON-formatted data and process it using JSONPath query syntax, developers and analysts can look at the data and derive meaning from it. This made it extremely popular format for representing RESTful API messages and collecting Big Data intelligence.

JSON format