blob: 34827259e0f9928b1dd6c5d5831b550361ebf98e [file] [log] [blame]
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
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';
}