basic_json__string_t_value_type.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 string directly from a string literal
00008     json j("The quick brown fox jumps over the lazy doc");
00009 
00010     // serialize the JSON array
00011     std::cout << j << '\n';
00012 }


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