I have a complex JSON object in a file that when running via the CLI outputs the keys as headers
jsonexport complex.json output.csv
complex.json
{
"complex": {
"object": 1,
"that": 2
},
"has": 3,
"nested": {
"keys": true
}
}
output.csv
complex.object,complex.that,has,nested.keys
1,2,3,true
but running it via the online demo page https://kaue.github.io/jsonexport/demo/?json={%22complex%22:{%22object%22:1,%22that%22:2},%22has%22:3,%22nested%22:{%22keys%22:true}}&options={}
it comes out as expected
complex.object,1
complex.that,2
has,3
nested.keys,true