|
|
Changelog:
=============
- Fixed bugs:
- Added "-Wnull-dereference" to CI and worked around some false positives.
- Invalid json schema compiled successfully
- SIGABRT when serialising unmapped enum value
- Fixed a jmespath issue with parenthesized expressions involving projections (wildcard expressions,
the flatten operator, slices and filter expressions) where the right parenthesis did not stop the projection.
For example, given JSON '{"foo" : [[0, 1], [2, 3]]}', the JMESPath query '(foo[*])[0]'
returned '[0,2]' rather than the correct '[0,1]'.
- Fixed a 'json_encoder' formatting issue when 'array_object_line_splits' option set to 'line_split_kind::same_line'.
- Implemented new features:
- JMESPath Lexical Scoping using the new [let expression]
- JMESPath evaluation now supports late binding of variables to an initial (global) scope
via parameters.
- New 'json_options' members 'allow_comments' and 'allow_trailing_comma'. These options should
be preferred over using an error handler.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|