Questions tagged [ijson]

Ijson is an iterative JSON parser with standard Python iterator interfaces.

Links

66 questions
0
votes
1 answer

Parsing with ijson, lists become strings - make them nested lists of floats

I have large .GEOJSON files that I parse using ijson. One data I load is coordinates listed as for example: "coordinates": [[[47335.8499999996, 6571361.68], [47336.2599999998, 6571360.54], [47336, 6571335.4]]] I'm able to load this data, having…
maypay
  • 17
  • 6
0
votes
1 answer

Ijson parse from list

I have a list in which each item contains JSON data, so I am trying to parse the data using Ijson since the data load will be huge. This is what I am trying to achieve: article_data=#variable which contains the list parser =…
0
votes
1 answer

Write JSON values from array and nested array to single CSV

I have a JSON output, where I want to create a csv file, that contains two columns. The first column should contain the userId and the second column should contain the value of videoSeries. The output looks like this: { "start": 1490383076, …
MARWEBIST
  • 43
  • 4
0
votes
1 answer

What is the proper way to import large amounts data into a Firebase database?

I'm working with a dataset of political campaign contributions that ends up being an approximately 500mb JSON file (originally a 124mb CSV). It's far too big to import in the Firebase web interface (trying before crashed the tab on Google Chrome). I…
ROODAY
  • 756
  • 1
  • 6
  • 23
-1
votes
1 answer

ijson : How to use ijson to retrieve a dict/list element (from file or from string)?

I am trying to use ijson to retrieve an element from a json dict object. The json string is inside a file and the only thing in that file is that content: {"categoryTreeId":"0","categoryTreeVersion":"127","categoryAspects":[1,2,3]} (that string is…
MMEL
  • 328
  • 3
  • 13
1 2 3 4
5