Files
json/examples/operator_ltlt__json_pointer.cpp
T
2026-10-26 21:24:35 +00:00

14 lines
235 B
C++

#include <iostream>
#include <nlohmann/json.hpp>
using nlohmann::json;
int main()
{
// create JSON pointer
json::json_pointer ptr("/foo/bar/baz");
// write string representation to stream
std::cout << ptr << '\n';
}