You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a parse_array_start / parse_array_stop matching pair, and it was almost trivial for me to add one for parse_object_stop. So why is it missing?
In fact, it simplified one of my parsers greatly, and it also matches the API of other parsers (as well as seeming like it belongs in the API here, too?)
I hope that by adding+using it I am not missing something... or that there is a more elegant way enabled by the library, where I shouldn't need to add it.
I should also note that this library seems to be unlike others in its class (streaming, callback-based parsers such as libjson, or json-streaming-parser), where the picojson callback API has the additional parse_object_item and parse_array_item functions which re-enter the parser. It actually made things easier, but it doesn't seem like other SAX parsers, so I'm worried about what the trade-offs or corner cases might be.
The text was updated successfully, but these errors were encountered:
There is a
parse_array_start
/parse_array_stop
matching pair, and it was almost trivial for me to add one forparse_object_stop
. So why is it missing?In fact, it simplified one of my parsers greatly, and it also matches the API of other parsers (as well as seeming like it belongs in the API here, too?)
I hope that by adding+using it I am not missing something... or that there is a more elegant way enabled by the library, where I shouldn't need to add it.
I should also note that this library seems to be unlike others in its class (streaming, callback-based parsers such as libjson, or json-streaming-parser), where the picojson callback API has the additional
parse_object_item
andparse_array_item
functions which re-enter the parser. It actually made things easier, but it doesn't seem like other SAX parsers, so I'm worried about what the trade-offs or corner cases might be.The text was updated successfully, but these errors were encountered: