Release 0.175.0
danielaparker
released this
02 May 19:21
·
251 commits
to master
since this release
This release contains two breaking changes to recently added
features.
Change to jsonpath::get function
- The return value for
jsonpath::get
has been changed from a
pointer to the selected JSON value, or null if not found, to a
std::pair<Json*,bool>
, where the bool component indicates
whether the get operation succeeded.
Change to new jsonschema classes and functions introduced in 0.174.0:
- The overload of
json_schema<Json>::validate
that takes a callback
must now be passed a lambda that returnswalk_result::advance
or
walk_result::abort
. This supports early exit from validation.
Note that this change does not affect the legacy pre-0.174.0 jsonschema
classes and functions (make_schema
, json_validator
).
Enhancement to jsonschema library:
- New
json_schema
member functionwalk
for walking through the schema.