I am parsing json data using JsonCpp. I don\'t really need to understand the data, i just need to print out some properties and their values out. It somehow is hard to do. F
The project has moved to GitHub.
To avoid all linefeeds, use a StreamWriterBuilder:
Json::Value whatever = ...; Json::StreamWriterBuilder builder; builder.settings_["indentation"] = ""; std::string out = Json::writeString(builder, whatever);