reorganized repo
This commit is contained in:
parent
4bb5126502
commit
91c330ae01
88 changed files with 313 additions and 321 deletions
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';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue