Closed johngouf closed 10 years ago
Array items are fetched with the keyword "item", so for the top-level array it's ijson.items(f, 'item')
. And ijson.items(f, '')
will give you the whole array as a single object.
Thanks so much for the immediate response. It is of course working.
Hi there,
imagine that I have a big array of json objects without an identifier. For instance: [ { "id":"sdfsdf", "service_name":"sdfsfd", "expiration":"2099-12-31T00:00:00Z", "brief_description":"sdfsdfsdfsdfsdf" }, { "id":"fsdfsdfsdf", "service_name":"sdfsdf", "expiration":"2099-12-31T00:00:00Z", "brief_description":"sdfsdfdsf." }, .. ... ... ... ]
how is it possible to use items function? (since there is no key for each json object) Thanks a lot