mirror of
https://github.com/nlohmann/json.git
synced 2026-02-02 09:32:10 +00: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