No external Dependencies!
add_subdirectory(json)
include_directories(json/include)
Json json = JsonObject();
json["hello"] = 123.0;
json["json"] = true;
json["for"] = "modern C++";
json["nested"] = JsonObject();
json["nested"]["objects"] = JsonArray();
json["nested"]["objects"].push_back(JsonObject());
json["nested"]["objects"][0] = "and arrays";
Writer writer("output.json");
writer.Write(json);
Parser parser("input.json");
Json json = parser.Parse();