basic_json__boolean_t.cpp
Go to the documentation of this file.
00001 #include <json.hpp>
00002 
00003 using json = nlohmann::json;
00004 
00005 int main()
00006 {
00007     // create boolean values
00008     json j_truth = true;
00009     json j_falsity = false;
00010 
00011     // serialize the JSON booleans
00012     std::cout << j_truth << '\n';
00013     std::cout << j_falsity << '\n';
00014 }


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:01