JSON for Modern C++ version 3.11.1 #3647
nlohmann
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Release date: 2022-08-01
SHA-256: 9279dc616aac67efce68967f118051b50236612b90572e059783d368bd78687e (json.hpp), 9c15ca7806f863872452bfbc85fee6d1c9868117e3ea5e00a204ae961a2e1ae7 (include.zip), e6dd39f8f2da9cab11de2212acdd40b1cc1aafbe09da8c92933b911d19da3302 (json.tar.xz)
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.
💰 Note you can support this project via GitHub sponsors or PayPal.
🐛 Bug fixes
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.This discussion was created from the release JSON for Modern C++ version 3.11.1.
Beta Was this translation helpful? Give feedback.
All reactions