JavaScript Object Notation

JSON is the acronym for JavaScript Object Notation.

What is JavaScript Object Notation?

A lightweight data-interchange format that is easy for humans to read and write and easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition – December 1999. JSON is a text format that is completely language-independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Here’s an example of JSON data:

  "name": "John Smith",
  "age": 35,
  "address": {
    "street": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "zip": "10021"
  "phoneNumbers": [
      "type": "home",
      "number": "212 555-1234"
      "type": "fax",
      "number": "646 555-4567"

In this example, the JSON data describes a person, with properties such as name, age, address, and phone numbers. The address and phone numbers are themselves objects, which are nested within the parent object. This type of nesting can be used to represent more complex data structures.

  • Abbreviation: JSON
Back to top button