Rebuild sdk (#60)

* rebuild sdk

* fixed ut include Utils.h
This commit is contained in:
Axios
2019-08-14 14:34:09 +08:00
committed by GitHub
parent f3d9843e63
commit c43307bc80
11893 changed files with 462166 additions and 221301 deletions

View File

@@ -35,10 +35,13 @@ QueryGenerateTaskResultResult::~QueryGenerateTaskResultResult()
void QueryGenerateTaskResultResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
reader.parse(payload, value);
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allPictures = value["Pictures"]["Picture"];
for (auto value : allPictures)