Method CDL.toJSONArray(csv) skips the last row of the csv if the last field of this row is empty. For example, following csv entry
Field 1,Field 2,Field 3
value11,value12,
value21,value22,
will be parsed into json with only one element like this:
[
{
"Field 1": "value11",
"Field 2": "value12",
"Field 3": ""
}
]
Method
CDL.toJSONArray(csv)skips the last row of the csv if the last field of this row is empty. For example, following csv entrywill be parsed into json with only one element like this: