a sample that use rapidjson read and write json.