1# <small>nlohmann::json_pointer::</small>pop_back 2 3```cpp 4void pop_back(); 5``` 6 7Remove last reference token. 8 9## Exceptions 10 11Throws [out_of_range.405](../../home/exceptions.md#jsonexceptionout_of_range405) if JSON pointer has no parent. 12 13## Complexity 14 15Constant. 16 17## Examples 18 19??? example 20 21 The example shows the usage of `pop_back`. 22 23 ```cpp 24 --8<-- "examples/json_pointer__pop_back.cpp" 25 ``` 26 27 Output: 28 29 ```json 30 --8<-- "examples/json_pointer__pop_back.output" 31 ``` 32 33## Version history 34 35Added in version 3.6.0. 36