blob: 7e38544bf236a46fc519a70932ecd1dc142d496a [file] [log] [blame]
#include <json.hpp>
using json = nlohmann::json;
int main()
{
// an anonymous enum
enum { t = 17 };
// create a JSON number from the enum
json j(t);
// serialize the JSON numbers
std::cout << j << '\n';
}