mirror of
https://github.com/nlohmann/json.git
synced 2025-07-16 18:41:53 +03:00
overworked doxygen
This commit is contained in:
12
docs/examples/basic_json__nullptr_t.cpp
Normal file
12
docs/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