TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ operator/ [3/3]

template<typename BasicJsonType >
json_pointer operator/ ( const json_pointer< BasicJsonType > &  ptr,
std::string  token 
)
friend

create a new JSON pointer by appending the unescaped token at the end of the JSON pointer

Parameters
[in]ptrJSON pointer
[in]tokenreference token
Returns
a new JSON pointer with unescaped token appended to ptr

@liveexample{The example shows the usage of operator/.,json_pointer__operator_add_binary}

@complexity Linear in the length of ptr.

See also
see operator/=(std::string) to append a reference token
Since
version 3.6.0

Definition at line 12728 of file json.hpp.

12729 {
12730 return json_pointer(ptr) /= std::move(token);
12731 }
json_pointer(const std::string &s="")
create JSON pointer
Definition: json.hpp:12591