v3.4.0¶
Released on 2018-10-30.
Feature release. All changes are backward-compatible.
- Adds BSON read/write support.
- Adds configurable Unicode error handlers to
dump(throw, replace with U+FFFD, or ignore) and theNLOHMANN_JSON_SERIALIZE_ENUMmacro for enum conversion. - Improves parse-error messages with line/column positions and context.
API changes¶
Added (3 pages):
basic_json:error_handler_t,from_bson,to_bson
Changed:
basic_json::dump: Error handlers added in version 3.4.0.