4 Commits

Author SHA1 Message Date
Wang Mingyu
fb04cb54c4
jsoncons: upgrade 1.2.0 -> 1.3.0
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>
2025-03-11 17:17:20 -07:00
Wang Mingyu
d019c5b3c4
jsoncons: upgrade 1.1.0 -> 1.2.0
Changelog:
==============
- jsonpath length function with recursive select argument gives wrong result
- Support nested JSON to CSV. Add flat, column_mapping, and max_nesting_depth options to basic_csv_options
- Add raw_tag() accessor to basic_cbor_cursor. Add functions begin_object_with_tag,
  begin_array_with_tag, uint64_value_with_tag etc. to basic_cbor_encoder to support encoding values with
  raw CBOR tags.
- Support custom JSON Schema error messages with errorMessage keyword. Add
  enable_custom_error_message option to evaluation_options.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:50 -08:00
Wang Mingyu
e61d42e724
jsoncons: upgrade 1.0.0 -> 1.1.0
Changelog:
===========
- Reverted changes to 'basic_json_parser' API introduced in 1.0.0, cf Git issue #576
- Git Issue #554: Made headers self-contained

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 08:52:04 -08:00
Bartosz Szostak
5bd1d5ad77
jsoncons: add new recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-02 07:49:48 -08:00