What does JSON stand for?

Meaning and background of JSON
Full formJavaScript Object Notation
CategoryTechnology & computing
TypeAbbreviation

The abbreviation JSON stands for JavaScript Object Notation. It is a text format for representing structured data that software can exchange.

This guide covers the data format. Despite JavaScript in its name, JSON is language independent. A JSON document is data, not a script to execute, and it does not have to contain an object at its top level.

JSON — JavaScript Object Notation; Technology & computing
Original reference card by AcronymIndex.

Meaning in context

JavaScript
The name reflects its origins in JavaScript syntax; programs written in other languages can also read and generate JSON.
Object
Objects contain named members. JSON also supports arrays and primitive values, so not every JSON document is an object.
Notation
The format has syntax rules: member names and strings use double quotes, and values can include numbers, booleans, null, arrays and objects.

Practical examples

Write a JSON object

Before
{'city': 'Sofia'}
After
{"city": "Sofia"}

Choose a value type

Before
{"available": "true"}
After
{"available": true}

Describe a response

Before
The API returned JavaScript.
After
The API returned JSON containing the city name and forecast temperature.

Original illustrative examples, not quotations or reports of actual events.

Put JSON into practice

Is my example JSON data, and what will another program receive?

See all guidance

Write a JSON object

Check the quotes and separators rather than assuming a JavaScript object literal is also valid JSON.

{"city": "Sofia"}

Choose a value type

Choose a string, number or boolean according to the receiving application's requirements.

{"available": true}

Describe a response

Name the data format and the information carried by the response.

The API returned JSON containing the city name and forecast temperature.

These are illustrative examples. The tool prepares text in your browser; it does not connect to a service or execute code.

Build a one-field JSON object

Enter a non-empty member name and a non-empty text value. This exercise creates one string-valued field, even when you type digits or true. It trims spaces around the member name and preserves spaces in the value. It does not validate an application schema.

Your inputs stay in this browser. Confirm the details before using this example.

Help improve this entry

Spot a mistake or have a clearer example? Suggest a change.

Become a contributor

By AcronymIndex Editorial Team · Editorial policy

Copy this text

Select the text below and copy it.

Suggest an edit

Help the team improve this entry. Suggestions are reviewed before publication.

Fields marked * are required. Please leave out sensitive personal information.

Paste the specific wording, or select text in an entry before opening this form.

Tell us what to replace or add, and why it would help the reader.

An official organization, original document or other reliable reference, if relevant.

Your draft stays in this tab until you choose an email action. How we handle your information