OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GetValueFromJsonObject
(Results
1 - 3
of
3
) sorted by null
/external/webrtc/webrtc/base/
json.cc
254
bool
GetValueFromJsonObject
(const Json::Value& in, const std::string& k,
267
return
GetValueFromJsonObject
(in, k, &x) && GetIntFromJson(x, out);
273
return
GetValueFromJsonObject
(in, k, &x) && GetUIntFromJson(x, out);
279
return
GetValueFromJsonObject
(in, k, &x) && GetStringFromJson(x, out);
285
return
GetValueFromJsonObject
(in, k, &x) && GetBoolFromJson(x, out);
291
return
GetValueFromJsonObject
(in, k, &x) && GetDoubleFromJson(x, out);
json.h
73
bool
GetValueFromJsonObject
(const Json::Value& in, const std::string& k,
json_unittest.cc
162
EXPECT_TRUE(
GetValueFromJsonObject
(o, "int", &out));
163
EXPECT_TRUE(
GetValueFromJsonObject
(o, "bool", &out));
164
EXPECT_FALSE(
GetValueFromJsonObject
(o, "foo", &out));
165
EXPECT_FALSE(
GetValueFromJsonObject
(o, "", &out));
Completed in 55 milliseconds