JSON: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
=Overview=
=Overview=


JSON stands for JavaScript Object Notation. It is a standardized text format for serialization of structured data. It is described by [https://www.ietf.org/rfc/rfc4627.txt RFC 4627] <font color=darkkhaki>and RFC 7159. What is the relationship?</font>. 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 stands for JavaScript Object Notation. It is a standardized text format for serialization of structured data. It is described by [https://www.ietf.org/rfc/rfc4627.txt RFC 4627] <font color=darkkhaki>and RFC 7159. What is the relationship?</font>.  
 
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 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=
=Example=

Latest revision as of 20:04, 4 October 2023

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