2 #include <nlohmann/json.hpp> 15 std::cout << std::boolalpha
16 << ptr0 <<
": " << ptr0.empty() <<
'\n' 17 << ptr1 <<
": " << ptr1.empty() <<
'\n' 18 << ptr2 <<
": " << ptr2.empty() <<
'\n' 19 << ptr3 <<
": " << ptr3.empty() << std::endl;
::nlohmann::json_pointer< basic_json > json_pointer
JSON Pointer, see nlohmann::json_pointer.
basic_json<> json
default JSON class
Output (play with this example