Searched refs:JSONReader (Results 1 – 9 of 9) sorted by relevance
/third_party/gn/src/base/json/ |
D | json_reader.cc | 18 const int JSONReader::kStackMaxDepth = 200; 21 static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000, 24 const char JSONReader::kInvalidEscape[] = "Invalid escape sequence."; 25 const char JSONReader::kSyntaxError[] = "Syntax error."; 26 const char JSONReader::kUnexpectedToken[] = "Unexpected token."; 27 const char JSONReader::kTrailingComma[] = "Trailing comma not allowed."; 28 const char JSONReader::kTooMuchNesting[] = "Too much nesting."; 29 const char JSONReader::kUnexpectedDataAfterRoot[] = 31 const char JSONReader::kUnsupportedEncoding[] = 33 const char JSONReader::kUnquotedDictionaryKey[] = [all …]
|
D | json_parser.cc | 63 error_code_(JSONReader::JSON_NO_ERROR), in JSONParser() 66 CHECK_LE(max_depth, JSONReader::kStackMaxDepth); in JSONParser() 77 error_code_ = JSONReader::JSON_NO_ERROR; in Parse() 84 ReportError(JSONReader::JSON_TOO_LARGE, 0); in Parse() 100 ReportError(JSONReader::JSON_UNEXPECTED_DATA_AFTER_ROOT, 1); in Parse() 107 JSONReader::JsonParseError JSONParser::error_code() const { in error_code() 113 JSONReader::ErrorCodeToString(error_code_)); in GetErrorMessage() 321 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ParseToken() 328 ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); in ConsumeDictionary() 334 ReportError(JSONReader::JSON_TOO_MUCH_NESTING, 0); in ConsumeDictionary() [all …]
|
D | json_reader.h | 57 class JSONReader { 88 JSONReader(int options = JSON_PARSE_RFC, int max_depth = kStackMaxDepth); 90 ~JSONReader();
|
D | json_parser.h | 44 JSONParser(int options, int max_depth = JSONReader::kStackMaxDepth); 54 JSONReader::JsonParseError error_code() const; 205 void ReportError(JSONReader::JsonParseError code, int column_adjust); 235 JSONReader::JsonParseError error_code_;
|
/third_party/cef/libcef/common/ |
D | json_impl.cc | 45 absl::optional<base::Value> parse_result = base::JSONReader::Read( in CefParseJSON() 63 base::JSONReader::ValueWithError value_and_error = in CefParseJSONAndReturnError() 64 base::JSONReader::ReadAndReturnValueWithError( in CefParseJSONAndReturnError()
|
/third_party/gn/src/gn/ |
D | input_conversion.cc | 188 std::unique_ptr<base::Value> value = base::JSONReader::ReadAndReturnError( in ParseJSON()
|
D | analyzer.cc | 126 std::unique_ptr<base::Value> value = base::JSONReader::ReadAndReturnError( in JSONToInputs()
|
D | command_format.cc | 1239 base::JSONReader reader; in FormatJsonToString()
|
/third_party/node/tools/inspector_protocol/lib/ |
D | base_string_adapter_cc.template | 139 std::unique_ptr<base::Value> value = base::JSONReader::ReadDeprecated(message);
|