more documentation

This commit is contained in:
Niels 2015-06-22 21:44:20 +02:00
parent 27b0a4d170
commit 844bfd39b5
10 changed files with 238 additions and 48 deletions

View file

@ -0,0 +1,14 @@
#include <json.hpp>
using namespace nlohmann;
int main()
{
// create a JSON number from number_integer_t
json::number_integer_t value = 42;
json j(value);
// serialize the JSON numbers
std::cout << j << '\n';
}