List of Primitive Types
boolean
The JSON boolean type.
Valid values:
true
false
date
A date, represented in ISO 8601 format.
Examples:
"2010-09-13"
"2016-01-23"
"2020-03-07"
datetime
A date and time, represented in ISO 8601 format.
Example:
"2016-01-23T10:07:06"
float
A floating point number, represented by the JSON float type.
Examples:
123
12.34567
-456.789
integer
An integer number, represented by the JSON number type.
Examples:
123
42
0
-27
string
A sequence of characters, represented by the JSON string type.
Examples:
""
"Hello world"
"This is a string"
timespan
A timespan represents a time interval, and can be positive or negative. It is a JSON string of the format:
"[-][d.]hh:mm[:ss[.ff]]"
with the elements
d
- days.hh
- hours.mm
- minutes.ss
- seconds.ff
- fractional seconds up to three decimal places.
Note that some time intervals represent a "time of day", meaning they are taken from midnight.
Examples:
- 4 hours, 30 minutes:
"04:30"
- 1 hour, 5 minutes, 10 seconds:
"01:05:10"
- 30.5 seconds:
"00:00:30.5"
- 1 day, 3 hours:
"1.03:00"
or"27:00"