Home
last modified time | relevance | path

Searched refs:GetStringFromJson (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/rtc_base/strings/
Djson_unittest.cc37 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()
Djson.cc21 bool GetStringFromJson(const Json::Value& in, std::string* out) { in GetStringFromJson() function
162 return JsonArrayToVector(in, GetStringFromJson, out); in JsonArrayToStringVector()
229 return GetValueFromJsonArray(in, n, &x) && GetStringFromJson(x, out); in GetStringFromJsonArray()
271 return GetValueFromJsonObject(in, k, &x) && GetStringFromJson(x, out); in GetStringFromJsonObject()
Djson.h32 bool GetStringFromJson(const Json::Value& in, std::string* out);