Files
json/api/json_pointer/string_t.md
T
2026-10-03 05:43:12 +00:00

34 lines
753 B
Markdown

# <small>nlohmann::json_pointer::</small>string_t
```cpp
using string_t = RefStringType;
```
The string type used for the reference tokens making up the JSON pointer.
See [`basic_json::string_t`](../basic_json/string_t.md) for more information.
## Examples
??? example
The example shows the type `string_t` and its relation to `basic_json::string_t`.
```cpp
--8<-- "examples/json_pointer__string_t.cpp"
```
Output:
```json
--8<-- "examples/json_pointer__string_t.output"
```
## See also
- [basic_json::string_t](../basic_json/string_t.md) type used to store JSON strings
- [to_string](to_string.md) return a string representation of the JSON pointer
## Version history
- Added in version 3.11.0.