1 # <small>nlohmann::json_pointer::</small>operator/=
5 json_pointer& operator/=(const json_pointer& ptr);
8 json_pointer& operator/=(std::string token);
11 json_pointer& operator/=(std::size_t array_idx)
14 1. append another JSON pointer at the end of this JSON pointer
15 2. append an unescaped reference token at the end of this JSON pointer
16 3. append an array index at the end of this JSON pointer
21 : JSON pointer to append
24 : reference token to append
27 : array index to append
31 1. JSON pointer with `ptr` appended
32 2. JSON pointer with `token` appended without escaping `token`
33 3. JSON pointer with `array_idx` appended
37 1. Linear in the length of `ptr`.
38 2. Amortized constant.
39 3. Amortized constant.
45 The example shows the usage of `operator/=`.
48 --8<-- "examples/json_pointer__operator_add.cpp"
54 --8<-- "examples/json_pointer__operator_add.output"
59 1. Added in version 3.6.0.
60 2. Added in version 3.6.0.
61 3. Added in version 3.6.0.