This commit is contained in:
nlohmann committed 2026-10-27 12:14:00 +00:00
1 parent b36f8a9821
commit 11a863958e
1180 files changed
+14211 -6025

No files matched your search

+6 -4
View File
@@ -20,7 +20,7 @@ JSON class into byte-sized characters during deserialization.
`StringType` must have a `char`-compatible `value_type`: the library relies on UTF-8/`char`-based storage and
processing internally, so `std::wstring`, `std::u16string`, and `std::u32string` are **not** valid choices for
`StringType`. To work with wide-character data, convert it to/from UTF-8 at the boundary instead -- see the
`StringType`. To work with wide-character data, convert it to/from UTF-8 at the boundary instead — see the
FAQ's [wide string handling](../../home/faq.md#wide-string-handling) section for a conversion recipe.
Beyond the character type, the library expects a substantial part of the `#!cpp std::string` interface (contiguous
@@ -93,9 +93,11 @@ and an example.
## See also
- [object_t](object_t.md) the type used to store JSON objects (and their keys, which are also `string_t`)
- [binary_t](binary_t.md) the type used to store binary values
- [get_ptr](get_ptr.md) returns a pointer to the stored string value
- [`object_t`](object_t.md) - the type used to store JSON objects (and their keys, which are also `string_t`)
- [`binary_t`](binary_t.md) - the type used to store binary values
- [`get_ptr`](get_ptr.md) - returns a pointer to the stored string value
- [Types](../../features/types/index.md) - how strings are stored
- [Template Parameter Requirements](../../features/types/template_parameters.md) - requirements on the `StringType` template parameter
## Version history