Searched refs:JSON_ALLOW_TRAILING_COMMAS (Results 1 - 4 of 4) sorted by relevance

/external/libchrome/base/json/
H A Djson_reader_unittest.cc274 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 Djson_string_value_serializer.cc55 json_string_, allow_trailing_comma_ ? base::JSON_ALLOW_TRAILING_COMMAS
H A Djson_reader.h51 JSON_ALLOW_TRAILING_COMMAS = 1 << 0, enumerator in enum:base::JSONParserOptions
H A Djson_parser.cc545 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