From e0ee07fe738672d806cd2912b01e1542ea69c952 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 28 Sep 2026 21:24:40 +0200 Subject: [PATCH] Mention JSON_NO_UDLS in the list of exported module symbols Signed-off-by: Niels Lohmann --- docs/mkdocs/docs/features/modules.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/mkdocs/docs/features/modules.md b/docs/mkdocs/docs/features/modules.md index 6708f1d81..72d4ca6d5 100644 --- a/docs/mkdocs/docs/features/modules.md +++ b/docs/mkdocs/docs/features/modules.md @@ -40,6 +40,9 @@ Only the following symbols are exported from `nlohmann.json`: - `nlohmann::literals::json_literals::operator""_json` - `nlohmann::literals::json_literals::operator""_json_pointer` +The two user-defined string literals are not exported if [`JSON_NO_UDLS`](../api/macros/json_no_udls.md) is defined +when building the module. + Additionally, the following `nlohmann::detail` symbols are exported, solely to work around an MSVC compilation issue ([#3970](https://github.com/nlohmann/json/issues/3970)). They are implementation details, not part of the public API, and should not be used directly: