Commit 49241574 authored by Adrian Taylor's avatar Adrian Taylor Committed by Commit Bot

Clang-format json_reader.cc

Change-Id: Ibd1899f11e3463de658394618471872e8f1f423d
Bug: 1069271
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157788
Auto-Submit: Adrian Taylor <adetaylor@chromium.org>
Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760952}
parent 4cceeda6
......@@ -17,24 +17,18 @@ namespace base {
static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000,
"JSONReader error out of bounds");
const char JSONReader::kInvalidEscape[] =
"Invalid escape sequence.";
const char JSONReader::kSyntaxError[] =
"Syntax error.";
const char JSONReader::kUnexpectedToken[] =
"Unexpected token.";
const char JSONReader::kTrailingComma[] =
"Trailing comma not allowed.";
const char JSONReader::kTooMuchNesting[] =
"Too much nesting.";
const char JSONReader::kInvalidEscape[] = "Invalid escape sequence.";
const char JSONReader::kSyntaxError[] = "Syntax error.";
const char JSONReader::kUnexpectedToken[] = "Unexpected token.";
const char JSONReader::kTrailingComma[] = "Trailing comma not allowed.";
const char JSONReader::kTooMuchNesting[] = "Too much nesting.";
const char JSONReader::kUnexpectedDataAfterRoot[] =
"Unexpected data after root element.";
const char JSONReader::kUnsupportedEncoding[] =
"Unsupported encoding. JSON must be UTF-8.";
const char JSONReader::kUnquotedDictionaryKey[] =
"Dictionary keys must be quoted.";
const char JSONReader::kInputTooLarge[] =
"Input string is too large (>2GB).";
const char JSONReader::kInputTooLarge[] = "Input string is too large (>2GB).";
const char JSONReader::kUnrepresentableNumber[] =
"Number cannot be represented.";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment