I am probably missing something trivial, but i have looked at alot of examples for a while now and cant seem to figure this out myself.
I just want to convert this local Json to CSV, but the “sections” does does have name. I have looked at other forum posts, and found this one:
Here, the data is defined with:
$json.public_cluster.records
I have tried using this example to make the conversion, but my JSON file lacks a recurring definition of the sections, which are a different number for each dataset.
Got distracted by a project and completely forgot about this thread.
I did try yes, but not really working, however my input comes from an URL address (an API).
The webadress itself, that i access the API with, is not a .json file path, but a json file is generated for download when the API loads.
Im not really sure how to “grab this in the right way”
In your initial question you seemed to have a proper JSON object to work with. If that’s not the case you may solve this issue first. At least the snippet you posted is not a valid JSON format or at least not complete.
It’s going to be hard to recommend something meaningful if you don’t share the needed information.
Regardless of that all …
… is not that helpful. You may be a little more detailed about what happend or not happend and what exactly you tried actually.