Home
last modified time | relevance | path

Searched refs:ParseAndValidateArray (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/util/json/
Djson_helpers.h174 bool ParseAndValidateArray(const Json::Value& value, in ParseAndValidateArray() function
197 return ParseAndValidateArray<int>(value, ParseAndValidateInt, out); in ParseAndValidateIntArray()
202 return ParseAndValidateArray<uint32_t>(value, ParseAndValidateUint, out); in ParseAndValidateUintArray()
207 return ParseAndValidateArray<std::string>(value, ParseAndValidateString, out); in ParseAndValidateStringArray()
Djson_helpers_unittest.cc148 TEST(ParsingHelpersTest, ParseAndValidateArray) { in TEST() argument
158 EXPECT_TRUE(ParseAndValidateArray<Dummy>(valid_dummy_array, in TEST()
161 EXPECT_FALSE(ParseAndValidateArray<Dummy>(invalid_dummy_array, in TEST()
164 ParseAndValidateArray<Dummy>(kEmptyArray, ParseAndValidateDummy, &out)); in TEST()