1
0
mirror of https://github.com/nlohmann/json synced 2024-12-03 08:41:04 +00:00
nlohmannjson/doc/examples/basic_json.cpp

13 lines
195 B
C++
Raw Normal View History

2015-06-20 22:59:33 +00:00
#include <json.hpp>
using json = nlohmann::json;
2015-06-20 22:59:33 +00:00
int main()
{
// create a JSON value with default null value
json j;
// serialize the JSON null value
std::cout << j << '\n';
}