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
An empty list
"addresses":[ ]
A list with one value
"addresses":["1.2.3.4"]
A list with three values
"addresses":["1.2.3.4","5.6.7.8","4.3.2.1"]