Lines Matching refs:JSONReader
19 const int JSONReader::kStackMaxDepth = 200;
22 static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000,
25 const char JSONReader::kInvalidEscape[] =
27 const char JSONReader::kSyntaxError[] =
29 const char JSONReader::kUnexpectedToken[] =
31 const char JSONReader::kTrailingComma[] =
33 const char JSONReader::kTooMuchNesting[] =
35 const char JSONReader::kUnexpectedDataAfterRoot[] =
37 const char JSONReader::kUnsupportedEncoding[] =
39 const char JSONReader::kUnquotedDictionaryKey[] =
41 const char JSONReader::kInputTooLarge[] =
44 JSONReader::JSONReader(int options, int max_depth) in JSONReader() function in base::JSONReader
47 JSONReader::~JSONReader() = default;
50 std::unique_ptr<Value> JSONReader::Read(StringPiece json, in Read()
60 std::unique_ptr<Value> JSONReader::ReadAndReturnError( in ReadAndReturnError()
84 std::string JSONReader::ErrorCodeToString(JsonParseError error_code) { in ErrorCodeToString()
113 std::unique_ptr<Value> JSONReader::ReadToValue(StringPiece json) { in ReadToValue()
118 JSONReader::JsonParseError JSONReader::error_code() const { in error_code()
122 std::string JSONReader::GetErrorMessage() const { in GetErrorMessage()