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