1#include <iostream>
2#include <nlohmann/json.hpp>
3
4using json = nlohmann::json;
5
6int main()
7{
8    // implicitly create a JSON null value
9    json j1;
10
11    // explicitly create a JSON null value
12    json j2(nullptr);
13
14    // serialize the JSON null value
15    std::cout << j1 << '\n' << j2 << '\n';
16}
17