Searched refs:GetStringFromJson (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
D | json_unittest.cc | 37 EXPECT_TRUE(GetStringFromJson(in_s, &out)); in TEST() 39 EXPECT_TRUE(GetStringFromJson(in_sn, &out)); in TEST() 41 EXPECT_TRUE(GetStringFromJson(in_si, &out)); in TEST() 43 EXPECT_TRUE(GetStringFromJson(in_i, &out)); in TEST() 45 EXPECT_TRUE(GetStringFromJson(in_n, &out)); in TEST() 47 EXPECT_TRUE(GetStringFromJson(in_u, &out)); in TEST() 49 EXPECT_TRUE(GetStringFromJson(in_b, &out)); in TEST() 52 EXPECT_FALSE(GetStringFromJson(bad_a, &out)); in TEST() 53 EXPECT_FALSE(GetStringFromJson(bad_o, &out)); in TEST()
|
D | json.cc | 21 bool GetStringFromJson(const Json::Value& in, std::string* out) { in GetStringFromJson() function 166 return JsonArrayToVector(in, GetStringFromJson, out); in JsonArrayToStringVector() 239 return GetValueFromJsonArray(in, n, &x) && GetStringFromJson(x, out); in GetStringFromJsonArray() 279 return GetValueFromJsonObject(in, k, &x) && GetStringFromJson(x, out); in GetStringFromJsonObject()
|
D | json.h | 32 bool GetStringFromJson(const Json::Value& in, std::string* out);
|