mirror of
https://github.com/nlohmann/json.git
synced 2025-07-06 06:42:33 +03:00
reorganized repo
This commit is contained in:
12
doc/examples/basic_json__nullptr_t.cpp
Normal file
12
doc/examples/basic_json__nullptr_t.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#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';
|
||||
}
|
Reference in New Issue
Block a user