• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <iostream>
2 #include <nlohmann/json.hpp>
3 
4 using json = nlohmann::json;
5 
main()6 int main()
7 {
8     // create JSON poiner
9     json::json_pointer ptr("/foo/bar/baz");
10 
11     // write string representation to stream
12     std::cout << ptr << std::endl;
13 }
14