1#include <iostream>
2#include <nlohmann/json.hpp>
3
4using json = nlohmann::json;
5
6int main()
7{
8    // create JSON values
9    json a = 23;
10    json b = 42;
11
12    // copy-assign a to b
13    b = a;
14
15    // serialize the JSON arrays
16    std::cout << a << '\n';
17    std::cout << b << '\n';
18}
19