more documentation

This commit is contained in:
Niels committed 2015-06-21 18:30:08 +02:00
1 parent d972483b33
commit 4bb5126502
9 files changed
+186 -32

No files matched your search

@@ -0,0 +1,16 @@
#include <json.hpp>
using namespace nlohmann;
int main()
{
// create a JSON value
json a = 23;
// move contents of a to b
json b(std::move(a));
// serialize the JSON arrays
std::cout << a << '\n';
std::cout << b << '\n';
}