Skip to content

Version 0.100.0

Compare
Choose a tag to compare
@danielaparker danielaparker released this 16 Oct 13:46
· 8700 commits to master since this release

Changes:

  • template <class CharT> json_traits<CharT> replaced with sorted_policy

  • template <class CharT> o_json_traits<CharT> replaced with preserve_order_policy

  • The return type for the json::get_with_default function overload for const char* has been
    changed from const char* to json::string_view_type, which is assignable to std::string.

  • New functions byte_string_value and do_byte_string_value have been added to
    basic_json_input_handler and basic_json_output_handler

  • json::is<const char*>() and json::as<const char*>() specializations (supported but never
    documented) have been deprecated

  • In android specific string_to_double, strtod_l changed to strtold_l

Enhancements:

  • The json class and the decode_cbor and encode_cbor functions now support byte strings
    A json byte string value will, when serialized to JSON, be converted to a base64url string.

  • version.hpp added to include directory