Update endpoint data.

This commit is contained in:
sdk-team
2019-09-06 13:19:52 +08:00
parent 5817ec77ab
commit b24f4a88d4
822 changed files with 9753 additions and 39445 deletions

View File

@@ -35,13 +35,9 @@ DescribeForwardTableEntriesResult::~DescribeForwardTableEntriesResult()
void DescribeForwardTableEntriesResult::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 allForwardTableEntries = value["ForwardTableEntries"]["ForwardTableEntry"];
for (auto value : allForwardTableEntries)