Skip to content

Releases: danielaparker/jsoncons

Release 0.94.1

09 Dec 23:00
Compare
Choose a tag to compare

Release 0.94.1

Bug fixes:

  • Incorporates fix from Alex Merry for comparison of json objects

Release 0.94

24 Nov 01:46
Compare
Choose a tag to compare

Bug fixes

  • Incorporates contributions from Cory Fields for silencing some compiler warnings
  • Fixes bug reported by Vitaliy Gusev in json object operator[size_t]
  • Fixes bug in json is_empty method for empty objects

Changes

  • json constructors that take string, double etc. are now declared explicit (assignments and defaults to get and make_array methods have their own implementation and do not depend on implicit constructors.)
  • make_multi_array renamed to make_array (old name is still supported)
  • Previous versions supported any type values through special methods set_custom_data, add_custom_data, and custom_data. This version introduces a new type json::any that wraps any values and works with the usual accessors set, add and as, so the specialized methods are no longer required.

Enhancements

  • json get method with default value now accepts extended types as defaults
  • json make_array method with default value now accepts extended types as defaults

New extensions

  • Added jsoncons_ext/boost/type_extensions.hpp to collect
    extensions traits for boost types, in particular, for
    boost::gregorian dates.