v3.11.1
版本发布时间: 2022-08-02 05:32:26
nlohmann/json最新发布版本:v3.11.3(2023-11-29 05:38:09)
Release date: 2022-08-01 SHA-256: 9279dc616aac67efce68967f118051b50236612b90572e059783d368bd78687e (json.hpp), 9c15ca7806f863872452bfbc85fee6d1c9868117e3ea5e00a204ae961a2e1ae7 (include.zip), e6dd39f8f2da9cab11de2212acdd40b1cc1aafbe09da8c92933b911d19da3302 (json.tar.xz)
Known issues
- #3652 Regression: call to member function 'value' is ambiguous
- #3654 Regression: no match for 'operator!=' comparing json_pointer and const char */string_t
- #3655 Regression: .value<size_t> is compilation error
All issues are fixed in the develop
branch and will be part of the 3.11.2 release.
Summary
Version 3.11.0 moved the user-defined string literals (UDL) into namespace nlohmann::literals::json_literals
(see documentation). Unfortunately, this namespace was not imported to the global namespace by default which broke code. This release fixes this bug.
All changes are backward-compatible. See release notes of version 3.11.0 for more information on other features.
:moneybag: Note you can support this project via GitHub sponsors or PayPal.
:bug: Bug fixes
- Set default value of
JSON_USE_GLOBAL_UDLS
and the CMake optionsJSON_GlobalUDLs
to1
to import the user-defined string literals from thenlohmann::literals::json_literals
namespace into the global namespace by default. #3644 #3645 #3646
1、 include.zip 284.45KB
2、 include.zip.asc 833B
3、 json.hpp 875.65KB
4、 json.hpp.asc 833B
5、 json.tar.xz 105.85KB
6、 json.tar.xz.asc 833B