JSON format supports the following data types:
- Number
- String
- Array
- Object
- Boolean
- NULL
JSON format supports the following data types:
In JSON, Number must be integer or a floating point.
{"age":10}
In JSON, String must be in double quotes ""
.
{"name":"Saarthak Singh"}
In JSON, Values can be objects.
{"name":"Saarthak Singh", "age":10, "Country":"India"}
Values in JSON can be arrays.
{"name":["Saarthak Singh", "Vijay Singh"]}
Values in JSON can be true/false.
{"status":true}
Values in JSON can be null.
{"Address2":null}