Sha256: 4a299360f6b9b714dc37f28a67bd8575524fe413c20dd69750b09b5d085e83dd
Contents?: true
Size: 378 Bytes
Versions: 1
Compression:
Stored size: 378 Bytes
Contents
#include <iostream> #include <nlohmann/json.hpp> using json = nlohmann::json; int main() { // create empty JSON Pointer json::json_pointer ptr("/foo/bar/baz"); std::cout << ptr << '\n'; // call pop_back() ptr.pop_back(); std::cout << ptr << '\n'; ptr.pop_back(); std::cout << ptr << '\n'; ptr.pop_back(); std::cout << ptr << '\n'; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simdjson-0.3.0 | vendor/simdjson/dependencies/json/doc/examples/json_pointer__pop_back.cpp |