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
Bump jsoncons to 0.172.0. Full release notes - https://github.com/danielaparker/jsoncons/releases/tag/v0.172.0
Key features:
- Fixed issue danielaparker/jsoncons#469 affecting JSMESPath expressions with terminating CR
- Added result_option sort_descending
- Added new classes basic_json_location, basic_path_element, and basic_path_node
- Added a new functions get and remove for selecting a single JSON value from a JSON document at
a location represented by a json_location
if the expression for jmespath::search contains an extra CR on the end, we get an endless loop.
It looks like advance_past_space_character detects we are >= end and thus sets ec to an error.
But ec is not checked.
So after calling
advance_past_space_character(ec);
, we may need to addif (ec) {return jmespath_expression();}
to exit the loop.The text was updated successfully, but these errors were encountered: