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