Searched refs:JSON_ALLOW_TRAILING_COMMAS (Results 1 - 4 of 4) sorted by relevance
/external/libchrome/base/json/ |
H A D | json_reader_unittest.cc | 274 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); 295 JSON_ALLOW_TRAILING_COMMAS); 305 EXPECT_FALSE(JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS)); 317 JSONReader::Read("[true,]", JSON_ALLOW_TRAILING_COMMAS)); 331 EXPECT_FALSE(JSONReader::Read("[,]", JSON_ALLOW_TRAILING_COMMAS)); 332 EXPECT_FALSE(JSONReader::Read("[true,,]", JSON_ALLOW_TRAILING_COMMAS)); 333 EXPECT_FALSE(JSONReader::Read("[,true,]", JSON_ALLOW_TRAILING_COMMAS)); 334 EXPECT_FALSE(JSONReader::Read("[true,,false]", JSON_ALLOW_TRAILING_COMMAS)); 358 JSON_ALLOW_TRAILING_COMMAS); 369 JSON_ALLOW_TRAILING_COMMAS); [all...] |
H A D | json_string_value_serializer.cc | 55 json_string_, allow_trailing_comma_ ? base::JSON_ALLOW_TRAILING_COMMAS
|
H A D | json_reader.h | 51 JSON_ALLOW_TRAILING_COMMAS = 1 << 0, enumerator in enum:base::JSONParserOptions
|
H A D | json_parser.cc | 545 if (token == T_OBJECT_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) { 588 if (token == T_ARRAY_END && !(options_ & JSON_ALLOW_TRAILING_COMMAS)) {
|
Completed in 131 milliseconds