xdgjson  0.2.2
example.cpp
#include <iostream>
#include <jsoncpp/json/json.h>
#include "xdgjson.hpp"
int main(int argc, char *argv[])
{
xdgjson config("test.json", "xdgjson");
config.read();
Json::Value &json = config.get_json();
std::cout << "Hello: " << json["Hello"].asString() << '\n';
json["Hello"] = "World";
config.write();
}