JSON

Stands for "JavaScript Object Notation" and is pronounced like the name "Jason." JSON is a text-based data interchange format designed for transmitting structured data. It is most commonly used for transferring data between web applications and web servers.

JSON is often viewed as an alternative to XML, another plain text data interchange format. In most cases, the JSON representation of an object is more compact than the XML representation because it does not require tags for each element. Below is an example of an object named "Gaming PC" defined in both JSON and XML.

JSON

{
  "computer": {
    "name": "Gaming PC",
    "components": {
      "cpu": "Intel i7 3.4GHz", "ram": "16GB", "storage": "2TB HDD"
    }
  }
}

XML

<computer>
  <name>Gaming PC</name>
  <components>
    <cpu>Intel i7 3.4GHz</cpu>
    <ram>16GB</ram>
    <storage>2TB HDD</storage>
  </components>
</computer>

As you can see, the object is represented more efficiently in JSON than in XML. JSON's efficiency has helped it become a popular choice for web applications and is it is now often used in place of XML. Even Ajax applications commonly use JSON, though Ajax technically stands for "Asynchronous JavaScript and XML." While the difference between XML and JSON may be negligible for small applications, JSON's low overhead can help reduce bandwidth and other system resources used by high-traffic websites.

File extension: .JSON

Updated November 8, 2011

Definitions by TechTerms.com

The definition of JSON on this page is an original TechTerms.com definition. If you would like to reference this page or cite this definition, you can use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about the JSON definition or would like to suggest a new technical term, please contact us.

Want to learn more tech terms? Subscribe to the daily or weekly newsletter and get featured terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.