[x] The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp. The whole process is described here.
coverage: 99.984% (-0.02%) from 100.0%
when pulling 7c616a24f5bff374d15ed578b7bb1bf00bbf26b3 on slowriot:bson-element-11-uint64
into 8c391e04fe4195d8be862c97f38cfe10e2a3472e on nlohmann:develop.
This PR adds support for decoding and encoding BSON element 11: 64bit unsigned int.
This resolves https://github.com/nlohmann/json/issues/3894.
Changes
0x11
correctly asuint64_t
.write_bson_unsigned
to encode unsigned 64bit values correctly (using0x11
instead of signed0x12
).uint64_t
.Reference
Pull request checklist
include/nlohmann
directory, runmake amalgamate
to create the single-header filessingle_include/nlohmann/json.hpp
andsingle_include/nlohmann/json_fwd.hpp
. The whole process is described here.