operator string_t() const
Return a string representation of the JSON pointer.
A string representation of the JSON pointer
operator string_t() const { return to_string(); }
!!! warning “Deprecation”
This function is deprecated in favor of [`to_string`](to_string.md) and will be removed in a future major version release.
??? example
The example shows how JSON Pointers can be implicitly converted to strings. ```cpp --8<-- "examples/json_pointer__operator_string_t.cpp" ``` Output: ```json --8<-- "examples/json_pointer__operator_string_t.output" ```
string_t
and deprecated in version 3.11.0.