I know this question has been asked many times. I tried several solutions but I couldn't solve my problem.
I have a nested JSON file and I would like to convert it to a CSV file.
The JSON structure is like this:
[
{
"audio_analysis": [
{
"audio_percentage": 0.10006836243325763,
"audio_completed": false,
"audio_fast_forwarded": false,
"audio_rewinded": false,
"episode_downloaded": true,
"listened_episode_time": 1799,
"episode": 1,
"elapsed_time": 1799,
"location": {
"": ""
}
},
{
"audio_percentage": 0.10290520872791918,
"audio_completed": false,
"audio_fast_forwarded": true,
"audio_rewinded": true,
"episode_downloaded": true,
"listened_episode_time": 1850,
"episode": 1,
"elapsed_time": 1850,
"location": {
"": ""
}
}
],
"correct_answers": 1,
"count_completed_episodes": 0,
"count_downloaded_episodes": 2,
"total_time_spent_listening": 3649,
"season": "Tiraarka Qoyska - Taxanaha 1aad",
"user": "Joseph Kimani"
}
]
The desired output should in the format attached on the below link.