[WIP] changes for next release 3.11.1 #3640
nlohmann
announced in
Announcements
Replies: 1 comment
-
The macro is named Technically, it'd be more accurate to say: ... to import the user-defined string literals from the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This thread collects all changes made since the 3.11.0 (#3639) 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.
💰 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.Beta Was this translation helpful? Give feedback.
All reactions