Skip to content

unwind blank not working  #449

@LydGol90

Description

@LydGol90

Hi there, I am running your Example 9, copy and pasted exactly as in README but I am not getting the same output as you have. For me the blank is not working and I am getting all fields repeated.

"carModel","price","items.name","items.color","items.items.position","items.items.color"
"BMW",15000,"airbag","white",,
"BMW",15000,"dashboard","black",,
"Porsche",30000,"airbag",,"left","white"
"Porsche",30000,"airbag",,"right","gray"
"Porsche",30000,"dashboard",,"left","gray"
"Porsche",30000,"dashboard",,"right","black"

I have tried on multiple version of node (above 10) and I have tried both version 5 and version 4 of json2csv using the two different formats, but both give me no blanks. Are you able to check and confirm that Example 9 is working as expected for you?

Many thanks for any help, hope you are keeping safe and well!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions