There is a newer version of the record available.

Published January 3, 2022 | Version 3.11.1
Software Open

JSON for Modern C++

Authors/Creators

Description

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.

: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 options JSON_GlobalUDLs to 1 to import the user-defined string literals from the nlohmann::literals::json_literals namespace into the global namespace by default.
    • #3644
    • #3645
    • #3646

Notes

If you use this software, please cite it as below.

Files

nlohmann/json-v3.11.1.zip

Files (8.4 MB)

Name Size Download all
md5:4e3f33ca37db305e3a8c446b1d4a4d74
8.4 MB Preview Download

Additional details

Related works