Home : File Formats : JSON Definition

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

Cite this definition:

http://techterms.com/definition/json

TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definiton of JSON. It explains in computing terminology what JSON means and is one of many file format terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this JSON definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!