JSON

From NovaOrdis Knowledge Base
Revision as of 20:04, 4 October 2023 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

JSON stands for JavaScript Object Notation. It is a standardized text format for serialization of structured data. It is described by RFC 4627 and RFC 7159. What is the relationship?.

It defines a small set of formatting rules for portable representation of simple data structures such as key-value pair collections, lists, etc. JSON is also an internet media type, a text based content type that can be directly interpreted by JavaScript. It is the preferred exchange format for JavaScript-based web applications. The MIME media type for JSON is "application/json".

JSON uses attribute-value pairs.

JSON has a few advantages as a serialization format: there are serialization-deserialization libraries in most programming languages, all modern browsers support it, and it is human-readable. There are disadvantages as well: JSON is not size-efficient, and the serialization-deserialization speed is not among the best. Other serialization protocols are faster.

Example

JSON Example

Subjects

Frameworks