mirror of
https://github.com/nlohmann/json.git
synced 2026-07-09 03:55:09 +00:00
29 lines
576 B
Markdown
29 lines
576 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"
|
|
```
|
|
|
|
## Version history
|
|
|
|
- Added in version 3.11.0.
|