Release 0.155.0
Changes:
- The
semantic_tagenum valuetimestamphas been deprecated.
It has been replaced byepoch_second,epoch_milliandepoch_nano.
The deprecatedtimestampvalue has been aliased toepoch_second.
Enhancements:
-
Allow
bson_parserto switch to array parsing when the root
object is a document butdecode_bsonexpects an array. -
Added
json_type_traitssupport forstd::nullptr_t -
Added
json_type_traitssupport forstd::chrono::duration -
Improved memory efficiency of jmespath extension
-
Added function
json_encode_prettyas the preferred alternative
to thejson_encodeoverload withindenting::indentargument. -
Added
basic_jsonmember functiondump_prettyas the preferred alternative
to thedumpoverload withindenting::indentargument. -
Generalized the
basic_jsonmember functiondumpand the functionsencode_json
andencode_csvto write to any back insertable character container. -
Generalized the
basic_jsonfunctionparseand the functionsdecode_json
anddecode_csvto read from any contiguous character sequence.