Lines Matching refs:JSONReader
14 static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000,
17 const char JSONReader::kInvalidEscape[] =
19 const char JSONReader::kSyntaxError[] =
21 const char JSONReader::kUnexpectedToken[] =
23 const char JSONReader::kTrailingComma[] =
25 const char JSONReader::kTooMuchNesting[] =
27 const char JSONReader::kUnexpectedDataAfterRoot[] =
29 const char JSONReader::kUnsupportedEncoding[] =
31 const char JSONReader::kUnquotedDictionaryKey[] =
34 JSONReader::JSONReader() in JSONReader() function in base::JSONReader
35 : JSONReader(JSON_PARSE_RFC) { in JSONReader()
38 JSONReader::JSONReader(int options) in JSONReader() function in base::JSONReader
42 JSONReader::~JSONReader() { in ~JSONReader()
46 scoped_ptr<Value> JSONReader::Read(const StringPiece& json) { in Read()
52 scoped_ptr<Value> JSONReader::Read(const StringPiece& json, int options) { in Read()
59 scoped_ptr<Value> JSONReader::ReadAndReturnError(const StringPiece& json, in ReadAndReturnError()
82 std::string JSONReader::ErrorCodeToString(JsonParseError error_code) { in ErrorCodeToString()
108 scoped_ptr<Value> JSONReader::ReadToValue(const std::string& json) { in ReadToValue()
112 JSONReader::JsonParseError JSONReader::error_code() const { in error_code()
116 std::string JSONReader::GetErrorMessage() const { in GetErrorMessage()