This commit is contained in:
nlohmann
2026-10-08 14:12:31 +00:00
parent 207a4df1e4
commit 56189bffb2
17 changed files with 41 additions and 68 deletions

View File

@@ -67,7 +67,7 @@ By default, implicit conversions are enabled.
`JSON_USE_IMPLICIT_CONVERSIONS` is defined to `0`:
```cpp
using wjson = nlohmann::basic_json<std::map, std::vector, std::wstring>;
using wjson = nlohmann::json::with_string_t<std::wstring>;
void load(const nlohmann::json& j);

File diff suppressed because one or more lines are too long

View File

@@ -55,7 +55,7 @@ Example: conversion between `basic_json` specializations
A `basic_json` specialization with a different string type is also no longer converted implicitly when `JSON_USE_IMPLICIT_CONVERSIONS` is defined to `0`:
```
using wjson = nlohmann::basic_json<std::map, std::vector, std::wstring>;
using wjson = nlohmann::json::with_string_t<std::wstring>;
void load(const nlohmann::json& j);