I have a big JSONS file (4,5 GB) that I cannot open with Python all at once. The file consist of a few million lines which are all in JSON format. Each line is a seperate JSON file in brackets so the format of the file is:
{JSON}
{JSON}
{JSON}
...
I would like to be able to read the file line by line or a like the 200 first lines all at once but I can't figure out how to do this. Would it be possible to read the file line by line and then put the desired parts of the individual JSONs in a dataframe? Or would the dataframe be too big to handle too?
Thanks in advance!