Repository navigation
Release 0.170.0
Changed:
- Removed static functions
jsonpath_expression::compile. These have long been
superceded with functionmake_expression.
Defect fixes:
-
Fixed issue danielaparker/jsoncons/#416 where
lengthoperator failed
for array of length zero. -
Fixed issue danielaparker/jsoncons/#411 where an overeager g++ 12.2.0 compiler reported a
spuriousstringop-overflowwarning. -
Fixed issue danielaparker/jsoncons/#410 where
jsoncons::jsonpath::json_location::to_string
escaped only single quotes. -
Merged PR danielaparker/jsoncons/#406 that fixed multiple float parsing and boolean pretty print
issues with wjson. This included reverting a change to usestd::from_chars
in 0.169.0.
Enhancements:
-
The jsonpath library now works with stateful allocators. In particular, the
make_expression,
json_queryandjson_replacefunctions now accept an allocator argument for use in allocating
memory during expression compilation and evaluation. -
Merged PR danielaparker/jsoncons/#395 that added a
ser_context::end_position()function.