blob: 044318fa56e8aea91526aec987704b4015eb2f77 [file] [log] [blame] [edit]
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main()
{
// create JSON pointer
json::json_pointer ptr("/foo/bar/baz");
// write string representation to stream
std::cout << ptr << std::endl;
}