Sign in
fuchsia
/
third_party
/
json
/
814fb31d64aaddd6e00a51dfc55508c3d30cb8f6
/
.
/
doc
/
examples
/
basic_json__boolean_t.cpp
blob: 38f014e01940176f6b31ec1462368671e9ea8f51 [
file
] [
log
] [
blame
]
#include
<json.hpp>
using
json
=
nlohmann
::
json
;
int
main
()
{
// create boolean values
json j_truth
=
true
;
json j_falsity
=
false
;
// serialize the JSON booleans
std
::
cout
<<
j_truth
<<
'\n'
;
std
::
cout
<<
j_falsity
<<
'\n'
;
}