Davies Meyer – home
    Tech3 min read

    JSON (JavaScript Object Notation)

    JSON is a language-independent text format for exchanging structured data. It can represent objects, arrays, strings, numbers, the Boolean values true and false, and null. Despite the name JavaScript Object Notation, JSON is processed by many other programming languages too.

    JSON (JavaScript Object Notation) explained

    A JSON object associates names with values, such as a product identifier with a text value. An array contains an ordered sequence of values. A single permitted value can also form a JSON document. The format defines notation, not the business meaning of the information it contains.

    That meaning requires agreement. A field named price alone does not establish the currency or whether tax is included. If notation and meaning do not align, a technically readable message can still be processed incorrectly. Check required information, units and allowed values alongside syntax.

    JSON is not a program and performs no actions itself. An application reads the data and determines how to handle it. Nor does the format automatically encrypt data or make external input trustworthy. Protection and validation belong to the particular transmission and processing steps.

    For websites and system connections, JSON is often a component behind the scenes. Its value comes from understandable data structures and appropriate processing. The format alone improves neither search rankings nor load times or campaign outcomes. What matters is whether the right information arrives completely and unambiguously.

    Examples

    Hypothetical application

    A product feed provides a price as a number without a currency. The receiving system can read the message but displays the amount in the wrong context. The team adds an explicitly agreed currency field and checks missing prices and invalid values before display.

    Key Points

    • JSON describes a text format, not business logic.
    • Readable syntax does not establish correct data meaning.
    • Agree units, required fields and permitted values.
    • Protect and check transmission and processing separately.

    Practical application

    Agree fields, meanings and units between the participating systems. Test valid, missing and contradictory information through to its actual use.

    Useful measures

    Formal validity

    Check that messages follow the agreed format and structure.

    Business completeness

    Check required information and its meaning for the particular operation.

    Correct use

    Trace how received data is stored, displayed or processed further.

    Common mistakes

    • Equating formally valid JSON with correct business data.
    • Silently assuming currency, units or the meaning of missing values.
    • Attributing security, SEO or performance benefits to the data format alone.

    Sources and context

    • IETF: RFC 8259 — JSON

      Specifies JSON as a language-independent text format and describes objects, arrays and other permitted values.

    Frequently Asked Questions about JSON (JavaScript Object Notation)

    No. JSON represents data using defined notation. Programs can read, validate and process that data.

    Loading related terms…

    All Terms