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
What is the exact question? Indeed, if the size is known during parsing, a size can be passed to the start_array() or start_object() functions. If it is unknown, std::size_t(-1) is passed (just similar to std::basic_string::npos.
Thanks for explaining. I was not aware of this technique and was surprised to see an unexpected high value with std::size_t when took your library for a test run. Sorry for the noise!
In the SAX API
std::size_t
defines the size, however in the documentation-1
a different type signals unknown size. Did I overlook something?The text was updated successfully, but these errors were encountered: