TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ operator std::string()

template<typename BasicJsonType >
nlohmann::json_pointer< BasicJsonType >::operator std::string ( ) const
inline

return a string representation of the JSON pointer

Invariant
For each JSON pointer ptr, it holds:
ptr == json_pointer(ptr.to_string());
json_pointer(const std::string &s="")
create JSON pointer
Definition: json.hpp:12591
Returns
a string representation of the JSON pointer

@liveexample{The example shows the result of to_string.,json_pointer__to_string}

Since
version 2.0.0

Definition at line 12620 of file json.hpp.

12621 {
12622 return to_string();
12623 }
std::string to_string() const
return a string representation of the JSON pointer
Definition: json.hpp:12609