...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Deprecation
API Changes
source_location
parameter
was added to throwing accessor functions.
New Features
Fixes
New Dependencies
API Changes
New Features
Fixes
API Changes
New Features
Fixes
API Changes
system_error
, except for when
allocation failed, in which case std::bad_alloc
is thrown.
serialize_options
.
New Features
parse_options
in stream operator<<
.
Infinity
and
NaN
JSON literals.
INT_MAX
are accepted by the parser and treated as infinity.
Fixes
New Features
Improvements
value_to
supports
missing elements for std::optional
.
Fixes
API Changes
New Features
Improvements
std::nullptr_t
).
value
to user types.
value_to/from
supports std::optional
and std::nullopt_t
.
value_to/from
supports std::variant
and std::monotype
.
value_to/from
supports supports described classes
and enums.
value
.
Fixes
API Changes
Fixes
API Changes
New Features
Improvements
std::error_code
overloads.
boost::source_location
to error_codes
.
Fixes
API Changes
API Changes
New Features
value_to
and value_from
.
Fixes
Improvements
/Zc:implicitNoexcept-
on MSVC.
New Features
string
to std::string_view
.
std::hash
specializations for json
types.
Fixes
object
deallocates the correct size.
array
from a pair of iterators
that form an empty range.
key_value_pair
allocates with the correct alignment.
Improvements
value_to
supports TupleLike
types.
value_to
and value_from
support std::array
and similar types.
Fixes
value_from
implementation; user
customizations are now always preferred over library-provided overloads.