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