JSON Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:


==Numbers==
==Numbers==
Numbers are represented as:
<pre>
10
</pre>
and they are not quoted.


==Objects==
==Objects==


==Arrays==
==Arrays==

Revision as of 16:14, 25 February 2017

Internal

Data Types

JSON data types are: null, Booleans, Strings, Numbers, Objects (which can be thought of as Maps) and Arrays.

null

Booleans

Booleans are represented as

true
false

and they are not quoted.

Strings

Numbers

Numbers are represented as:

10

and they are not quoted.

Objects

Arrays