Searched refs:JSONParser (Results 1 – 6 of 6) sorted by relevance
58 JSONParser::JSONParser(int options, int max_depth) in JSONParser() function in base::internal::JSONParser71 JSONParser::~JSONParser() = default;73 Optional<Value> JSONParser::Parse(StringPiece input) { in Parse()109 JSONReader::JsonParseError JSONParser::error_code() const { in error_code()113 std::string JSONParser::GetErrorMessage() const { in GetErrorMessage()118 int JSONParser::error_line() const { in error_line()122 int JSONParser::error_column() const { in error_column()128 JSONParser::StringBuilder::StringBuilder() : StringBuilder(nullptr) {} in StringBuilder()130 JSONParser::StringBuilder::StringBuilder(const char* pos) in StringBuilder()133 JSONParser::StringBuilder::~StringBuilder() = default;[all …]
23 JSONParser* NewTestParser(const std::string& input, in NewTestParser()25 JSONParser* parser = new JSONParser(options); in NewTestParser()42 void TestLastThree(JSONParser* parser) { in TestLastThree()54 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()68 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()82 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()96 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()113 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()151 std::unique_ptr<JSONParser> parser(NewTestParser(input)); in TEST_F()239 EXPECT_EQ(JSONParser::FormatErrorMessage(5, 10, JSONReader::kSyntaxError), in TEST_F()[all …]
44 class BASE_EXPORT JSONParser {46 JSONParser(int options, int max_depth = JSONReader::kStackMaxDepth);47 ~JSONParser();251 DISALLOW_COPY_AND_ASSIGN(JSONParser);
45 : parser_(new internal::JSONParser(options, max_depth)) {} in JSONReader()53 internal::JSONParser parser(options, max_depth); in Read()67 internal::JSONParser parser(options); in ReadAndReturnError()
42 class JSONParser; variable130 std::unique_ptr<internal::JSONParser> parser_;
11 import com.google.gwt.json.client.JSONParser;74 responseValue = JSONParser.parse(responseText); in handleResponseText()