I have JSON data in the following form:
{
field: ...,
field: ...,
field: ...,
field: ...,
items: [{array of multiple objects}]
},
{
field: ...,
field: ...,
field: ...,
field: ...,
items: [{array of multiple objects}]
},
{
field: ...,
field: ...,
field: ...,
field: ...,
items: [{array of multiple objects}]
}
...
and so on. I want to convert it into CSV for report generation, but I'd like each item in that array to have its own row like this.
Since I'm building the webapp using VueJS and Firebase, is there any way I can convert and have a downloadable CSV file, through Javascript?