# nlohmann::json_pointer::operator string_t ```cpp operator string_t() const ``` Return a string representation of the JSON pointer. ## Return value A string representation of the JSON pointer ## Possible implementation ```cpp operator string_t() const { return to_string(); } ``` ## Examples ??? example The example shows how JSON Pointers can be implicitly converted to strings. ```cpp --8<-- "examples/json_pointer__operator_string.cpp" ``` Output: ```json --8<-- "examples/json_pointer__operator_string.output" ``` ## Version history - Since version 2.0.0. - Changed type to `string_t` in version 3.11.0.