Sign in
fuchsia
/
third_party
/
json
/
26cab42c382b2a0ff7a8f3d45b3219721ad63906
/
.
/
doc
/
examples
/
basic_json__string_t_value_type.cpp
blob: 5379ca064a3ea9dbd093cb4de050a520e5b6f3bc [
file
] [
log
] [
blame
]
#include
<json.hpp>
using
json
=
nlohmann
::
json
;
int
main
()
{
// create a JSON string directly from a string literal
json j
(
"The quick brown fox jumps over the lazy doc"
);
// serialize the JSON array
std
::
cout
<<
j
<<
'\n'
;
}