Skip to content

Releases: danielaparker/jsoncons

Release 169.0

02 Nov 12:14
Compare
Choose a tag to compare

Defect fixes:

Performance Enhancement:

  • Use std::from_chars for chars to double conversion when
    supported in GCC and VC.

Enhancements:

  • Added a size() accessor function to basic_staj_event.
    If the event type is a key or a string_value or a byte_string_value,
    returns the size of the key or string or byte string value.
    If the event type is a begin_object or a begin_array, returns the size of the object
    or array if known, otherwise 0.
    For all other event types, returns 0.

  • Extended the parsers/cursors/encoder for JSON, CBOR, Msgpack,
    BSON, CSV, UBJSON so that they are resettable to new sources/sinks,
    contributed by ecorm

Changes:

  • For consistency with library naming conventions, the directory
    include/jsoncons/json_merge_patch has been renamed to
    include/jsoncons/mergepatch, the namespace json_merge_patch
    to mergepatch, and the include file json_merge_patch.hpp to
    mergepatch.hpp.

Release 0.168.7

20 May 01:45
Compare
Choose a tag to compare

Defect fixes:

Release 0.168.6

13 May 14:03
Compare
Choose a tag to compare

Bug Fix:

  • Fixed an issue with the order preserving ojson erase function
    that takes two iterator arguments.

Enhancement:

  • The basic_json::erase function return value, previously void, is now
    an iterator following the last removed element,
array_iterator erase(const_array_iterator pos);
object_iterator erase(const_object_iterator pos);

array_iterator erase(const_array_iterator first, const_array_iterator last);
object_iterator erase(const_object_iterator first, const_object_iterator last);

See Issue #363

Release 0.168.5

23 Mar 13:27
Compare
Choose a tag to compare

Issues fixed:

  • Fixed issue #355, "Array move constructor of basic_json copies provided array".

Release 0.168.4

08 Mar 20:32
Compare
Choose a tag to compare

Issues fixed:

  • Fixed issue #352
    regarding json_type_traits macro failure when number of parameters
    reached 47.

Enhancement:

Increased maximum number of parameters in json_type_traits macros
from 50 to 70.

Release 0.168.3

23 Jan 15:41
Compare
Choose a tag to compare

Issues fixed:

  • Preseve original error messages when decoding into C++ data structures
    (related to issue #345)

  • Fixed issue #348)
    concerning compilation issue on OSx with C++11

Release 0.168.2

03 Jan 04:59
Compare
Choose a tag to compare

Issues fixed:

  • Fixed issue #343
    concerning segfault using JMESPath with Apple clang version 12.0.0 and
    x86_64-apple-darwin19.6.0.

  • Fixed issue #344
    concerning compile error with gcc on archlinux with -Werror=nonnull.

Release 0.168.1

24 Oct 15:27
Compare
Choose a tag to compare

Bugs fixed:

  • Fixed jsonpath issue of normalized path component not being computed
    for expression, issue #338.

Release 0.168.0

27 Sep 17:51
Compare
Choose a tag to compare

Bugs fixed:

  • Fixed issue #335.
    The 0b... notation used in a cbor header file has been replaced with 0x... notation.
    The 0b... notation used is only standard compliant with C++14 and later, although
    supported in some C++ 11 compilers.

  • Fixed issue with csv automatic number detection discovered while investigating
    issue #333.

Enhancements to jsonpointer extension:

  • Support construction of a json_pointer from a URI fragment representation of a JSON Pointer.

  • Support stringifying a json_pointer to a URI fragment representation with the to_uri_fragment function.

jsoncons 0.167.1

13 Aug 01:35
Compare
Choose a tag to compare

Bugs fixed:

  • Fixed compilation error with clang version 8.0.1, issue #328.