mirror of
https://github.com/nlohmann/json
synced 2024-12-02 08:20:11 +00:00
13 lines
195 B
C++
13 lines
195 B
C++
#include <json.hpp>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
int main()
|
|
{
|
|
// create a JSON value with default null value
|
|
json j;
|
|
|
|
// serialize the JSON null value
|
|
std::cout << j << '\n';
|
|
}
|