Generated 2016-07-14 for CloudAPI.

This commit is contained in:
sdk-team
2019-09-05 13:57:50 +08:00
parent 8f03f1dba5
commit 8b48258e4e
313 changed files with 4508 additions and 4673 deletions

View File

@@ -35,13 +35,9 @@ DescribeDeployedApiResult::~DescribeDeployedApiResult()
void DescribeDeployedApiResult::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());
auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"];
for (auto value : allErrorCodeSamples)