json/doc/mkdocs/docs/api/json_pointer/operator_string.md

26 lines
398 B
Markdown
Raw Normal View History

2022-04-05 07:39:54 +03:00
# <small>nlohmann::json_pointer::</small>operator string_t
```cpp
2022-04-05 07:39:54 +03:00
operator string_t() const
```
Return a string representation of the JSON pointer.
## Return value
A string representation of the JSON pointer
## Possible implementation
```cpp
2022-04-05 07:39:54 +03:00
operator string_t() const
{
return to_string();
}
```
## Version history
2022-04-05 07:39:54 +03:00
- Since version 2.0.0.
2022-04-08 12:51:25 +03:00
- Changed type to `string_t` in version 3.11.0.