JSON list encoding
A JSON list is a list of values with the following format:
[ <value1>,
<value2>, <value3>,...]
where:
- Square brackets enclose the list.
- Commas separate each value.
- <value> can be another list or any of the base value encoding formats.
JSON lists can be empty.
Examples
The following example shows an empty list:
"ScheduleDays" : [ ]
The following example shows a list with one value:
"scheduleDays" : [ 2 ]
The following example shows a list with three values:
"scheduleDays" : [ 2, 3, 4 ]