mirror of
https://github.com/nlohmann/json.git
synced 2024-12-05 06:59:02 +08:00
13 lines
192 B
C++
13 lines
192 B
C++
|
#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';
|
||
|
}
|