TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ operator/=() [3/3]

template<typename BasicJsonType >
json_pointer & nlohmann::json_pointer< BasicJsonType >::operator/= ( std::string  token)
inline

append an unescaped reference token at the end of this JSON pointer

Parameters
[in]tokenreference token to append
Returns
JSON pointer with token appended without escaping token

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

@complexity Amortized constant.

See also
see operator/=(const json_pointer&) to append a JSON pointer
see operator/=(std::size_t) to append an array index
see operator/(const json_pointer&, std::size_t) for a binary operator
Since
version 3.6.0

Definition at line 12665 of file json.hpp.

12666 {
12667 push_back(std::move(token));
12668 return *this;
12669 }
void push_back(const std::string &token)
append an unescaped token at the end of the reference pointer
Definition: json.hpp:12837