basic_json__number_integer_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 a JSON number from number_integer_t
00008     json::number_integer_t value = 42;
00009 
00010     json j(value);
00011 
00012     // serialize the JSON numbers
00013     std::cout << j << '\n';
00014 }


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