Lines Matching refs:Json
34 Json::Value CreateJsonTree(Json::Value expectedResults,
35 Json::Value actualResultsFailed,
36 Json::Value actualResultsFailureIgnored,
37 Json::Value actualResultsNoComparison,
38 Json::Value actualResultsSucceeded) {
39 Json::Value actualResults;
44 Json::Value root;
56 GmResultDigest::GmResultDigest(const Json::Value &jsonTypeValuePair) {
69 Json::Value jsonHashValue = jsonTypeValuePair[1];
91 Json::Value GmResultDigest::asJsonTypeValuePair() const {
94 Json::Value jsonTypeValuePair;
96 jsonTypeValuePair.append(Json::Value(kJsonKey_Hashtype_Bitmap_64bitMD5));
97 jsonTypeValuePair.append(Json::UInt64(fHashDigest));
99 jsonTypeValuePair.append(Json::Value("INVALID"));
137 Expectations::Expectations(Json::Value jsonElement) {
141 Json::Value ignoreFailure = jsonElement[kJsonKey_ExpectedResults_IgnoreFailure];
154 Json::Value allowedDigests = jsonElement[kJsonKey_ExpectedResults_AllowedDigests];
163 for (Json::ArrayIndex i=0; i<allowedDigests.size(); i++) {
180 Json::Value Expectations::asJsonValue() const {
181 Json::Value allowedDigestArray;
188 Json::Value jsonExpectations;
221 /*static*/ bool JsonExpectationsSource::Parse(const char *jsonPath, Json::Value *jsonRoot) {
231 Json::Reader reader;