Replies: 2 comments
-
Maybe not the neatest way to do it but counting starts and ends did the trick!
|
Beta Was this translation helpful? Give feedback.
0 replies
-
A related question, is it possible to keep track of reading progress? How many bytes of the input file has been parsed or something similar? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to parse a large json file that is too big to keep completely in memory on my machine. I found this: #927
which helps me part of the way.
The data I am trying to parse looks like this (it is from open street maps):
If I parse using callbacks and check for json::parse_event_t::object_end I get a callback after each }, I would like to get a callback after each complete item in the array (so I get "properties" and "geometry" together). Any advice on how to do that?
Beta Was this translation helpful? Give feedback.
All reactions