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
I recently updated from an old version of RapidJSON and I'm seeing some unexpected behavior. I've attached the minimal reproducer below. ParseStream is consuming some bytes of the stream that I don't want it to consume. Since this is a non-seekable stream, I can't move the stream back a byte or two.
I recently updated from an old version of RapidJSON and I'm seeing some unexpected behavior. I've attached the minimal reproducer below. ParseStream is consuming some bytes of the stream that I don't want it to consume. Since this is a non-seekable stream, I can't move the stream back a byte or two.
Minimal reproducer
For this payload
and this code, which reads a json header while ideally not advancing the buffer
I see different behavior after June 2020
Before June 2020 (expected)
After June 2020
interestingly, the number consumed appears dependent on the size of the json
pre 2020
post 2020
The text was updated successfully, but these errors were encountered: