Generated 2019-08-08 for ARMS.

This commit is contained in:
sdk-team
2019-09-14 20:29:22 +08:00
parent 175945ea81
commit 504b56bd22
25 changed files with 123 additions and 240 deletions

View File

@@ -35,13 +35,9 @@ DeleteRetcodeAppResult::~DeleteRetcodeAppResult()
void DeleteRetcodeAppResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Reader reader;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();