json/doc/examples/basic_json.cpp

13 lines
192 B
C++
Raw Normal View History

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