Skip to content

Csv parsing skip last row if last field of this row is empty #943

Description

@rvyshnivskyi

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": ""
   }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions