Sign in
fuchsia
/
third_party
/
json
/
refs/heads/upstream/gh-pages
/
.
/
examples
/
operator_ltlt__json_pointer.cpp
blob: f4fac886d6ab263f9e87ddef74ccf93bc0993a3e [
file
] [
log
] [
blame
]
#include
<iostream>
#include
<nlohmann/json.hpp>
using
json
=
nlohmann
::
json
;
int
main
()
{
// create JSON poiner
json
::
json_pointer ptr
(
"/foo/bar/baz"
);
// write string representation to stream
std
::
cout
<<
ptr
<<
std
::
endl
;
}