2022-04-12 15:18:16 +03:00
|
|
|
# <small>nlohmann::json_pointer::</small>operator string_t
|
2021-12-29 15:41:01 +03:00
|
|
|
|
|
|
|
|
```cpp
|
2022-04-12 15:18:16 +03:00
|
|
|
operator string_t() const
|
2021-12-29 15:41:01 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Return a string representation of the JSON pointer.
|
|
|
|
|
|
|
|
|
|
## Return value
|
|
|
|
|
|
|
|
|
|
A string representation of the JSON pointer
|
|
|
|
|
|
|
|
|
|
## Possible implementation
|
|
|
|
|
|
|
|
|
|
```cpp
|
2022-04-12 15:18:16 +03:00
|
|
|
operator string_t() const
|
2021-12-29 15:41:01 +03:00
|
|
|
{
|
|
|
|
|
return to_string();
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Version history
|
|
|
|
|
|
2022-04-12 15:18:16 +03:00
|
|
|
- Since version 2.0.0.
|
|
|
|
|
- Changed type to `string_t` in version 3.11.0.
|