mirror of
https://github.com/nlohmann/json
synced 2025-01-10 17:20:09 +00:00
13 lines
182 B
C++
13 lines
182 B
C++
#include <json.hpp>
|
|
|
|
using namespace nlohmann;
|
|
|
|
int main()
|
|
{
|
|
// create a JSON null value
|
|
json j(nullptr);
|
|
|
|
// serialize the JSON null value
|
|
std::cout << j << '\n';
|
|
}
|