Release 0.94
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_emptymethod for empty objects
Changes
- json constructors that take string, double etc. are now declared explicit (assignments and defaults to
getandmake_arraymethods have their own implementation and do not depend on implicit constructors.) make_multi_arrayrenamed tomake_array(old name is still supported)- Previous versions supported
anytype values through special methodsset_custom_data,add_custom_data, andcustom_data. This version introduces a new typejson::anythat wrapsanyvalues and works with the usual accessorsset,addandas, 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.hppto collect
extensions traits for boost types, in particular, for
boost::gregoriandates.