string
- double-quoted Unicode{ "name":"John" }
float
- precision floating-point number{ "age":30.5 }
integer
- number without a fractional component{ "age":30 }
boolean
- true or false{ "sale":true }
array
- an ordered sequence of values{ "employees":[ "John", "Anna", "Peter" ] }
object
- an unordered collection of key:value
pairs{ "employee":{ "name":"John", "age":30, "city":"New York" } }
null
{ "middlename":null }