csvjson icon indicating copy to clipboard operation
csvjson copied to clipboard

Not able to change objectDenote and arrayDenote to empty strings.

Open DCU4 opened this issue 4 years ago • 0 comments

Hoping to do what the title says. I am pulling in answers from a form, and then turning them from JSON into CSV. Sometimes the answers are arrays, sometimes not (multiple checkboxes). When that happens it adds the non-arrays and arrays as separate headers (for the same question).

For example, "question_2" and "question_2[]" become two headers, but I would just like "question_2" as the header. I changed the source code locally, and it worked when I removed the brackets from the string, but setting them as empty strings does not work.

@pradeep-mishra

DCU4 avatar Sep 28 '20 23:09 DCU4