Difference between revisions of "JSON Documentation Team Cambodia"

From Coder Merlin
Line 5: Line 5:


JSON is language independent, therefore it is a great data interchanging format. Useful for talking between computers/servers. REST API uses JSON to talk between the server and the client conveniently.
JSON is language independent, therefore it is a great data interchanging format. Useful for talking between computers/servers. REST API uses JSON to talk between the server and the client conveniently.
It is based on two integral structures:
# A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
# An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
Because these structures are universal to any coding language, it enables JSON to be effective at data formatting.

Revision as of 14:39, 8 September 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

What is JSON?[edit]

JSON is a lightweight method of storing, sending, and retrieving data. It stands for JavaScript Object Notation. It is often used to send data from a server to a web page.

(put image here)

JSON is language independent, therefore it is a great data interchanging format. Useful for talking between computers/servers. REST API uses JSON to talk between the server and the client conveniently.

It is based on two integral structures:

  1. A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
  2. An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.

Because these structures are universal to any coding language, it enables JSON to be effective at data formatting.