I am currently working with Twitter stream data and I want to convert the nested JSON response to ndjson using python. I saw a few examples using json.normalize
but that just seperated it to one level and my output has much deeper levels. I am new to JSON and tried searching for any examples but did not find any.
Here's how my streaming output looks like:
I want to flatten out the JSON to ndjson so that I can isolate the columns I want to filter for my analysis.
Thanks, Hrishikesh