A CSPro
List is represented as a one-dimensional
JSON array. The underlying values of the List are serialized according to the JSON serialization rules for
numeric values or
string values.
When converting a JSON value to a List, an exception occurs if the value is not an array or if any of the array elements cannot be converted to a CSPro number or string. An exception also occurs if the array is multi-dimensional, unless the secondary dimension contains an array with a single value. That is, both [ 1, 2, 3 ] and [ [1], [2], [3] ] result in successful conversions.
{
"name": "values",
"type": "List",
"contentType": "numeric",
"value": [
1.23,
"REFUSED",
0.0,
9.0
]
}