1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-13 20:21:48 +03:00

reorganized repo

This commit is contained in:
Niels
2015-06-21 21:24:03 +02:00
parent 4bb5126502
commit 91c330ae01
88 changed files with 313 additions and 321 deletions

View File

@ -0,0 +1,15 @@
#include <json.hpp>
using namespace nlohmann;
int main()
{
// create an array_t value
json::array_t value = {"one", "two", 3, 4.5, false};
// create a JSON array from the value
json j(value);
// serialize the JSON array
std::cout << j << '\n';
}