bigjson
bigjson copied to clipboard
fetching from object takes endless time
I'm loading a json file to a bigjson object, and iterating through items. Consider the following example:
with open('fileA.json`,'rb') as f:
dictA = bigjson.load(f)
for k,v in dictA.iteritems():
list_v = np.array(v)
for v1 in list_v:
item = dictA['v1'] ### this line takes endless time without execution.
the last line never ends execution.