Parse the JSON file and write JSON file, as long as you include "json.h", and JSON::Value contains most of the functionality, Json::Reader reads the contents of a file to the Value class, Json::Write class can implement JSON::Value to the variable content written to a file.