#include <json_stream_parser.h>
|
| enum | ParseErrorType {
UNKNOWN_PARSE_ERROR,
OCTAL_OR_HEX_ARE_NOT_VALID_JSON_VALUES,
EXPECTED_COLON,
EXPECTED_COMMA_OR_BRACKET,
EXPECTED_VALUE,
EXPECTED_COMMA_OR_BRACES,
EXPECTED_OBJECT_KEY_OR_BRACES,
EXPECTED_VALUE_OR_BRACKET,
INVALID_KEY_OR_VARIABLE_NAME,
NON_UTF_8,
PARSING_TERMINATED_BEFORE_END_OF_INPUT,
UNEXPECTED_TOKEN,
EXPECTED_CLOSING_QUOTE,
ILLEGAL_HEX_STRING,
INVALID_ESCAPE_SEQUENCE,
MISSING_LOW_SURROGATE,
INVALID_LOW_SURROGATE,
INVALID_UNICODE,
UNABLE_TO_PARSE_NUMBER,
NUMBER_EXCEEDS_RANGE_DOUBLE
} |
| |
|
| enum | ParseType {
VALUE,
OBJ_MID,
ENTRY,
ENTRY_MID,
ARRAY_VALUE,
ARRAY_MID,
VALUE,
OBJ_MID,
ENTRY,
ENTRY_MID,
ARRAY_VALUE,
ARRAY_MID
} |
| |
| enum | ParseType {
VALUE,
OBJ_MID,
ENTRY,
ENTRY_MID,
ARRAY_VALUE,
ARRAY_MID,
VALUE,
OBJ_MID,
ENTRY,
ENTRY_MID,
ARRAY_VALUE,
ARRAY_MID
} |
| |
| enum | TokenType {
BEGIN_STRING,
BEGIN_NUMBER,
BEGIN_TRUE,
BEGIN_FALSE,
BEGIN_NULL,
BEGIN_OBJECT,
END_OBJECT,
BEGIN_ARRAY,
END_ARRAY,
ENTRY_SEPARATOR,
VALUE_SEPARATOR,
BEGIN_KEY,
UNKNOWN,
BEGIN_STRING,
BEGIN_NUMBER,
BEGIN_TRUE,
BEGIN_FALSE,
BEGIN_NULL,
BEGIN_OBJECT,
END_OBJECT,
BEGIN_ARRAY,
END_ARRAY,
ENTRY_SEPARATOR,
VALUE_SEPARATOR,
BEGIN_KEY,
UNKNOWN
} |
| |
| enum | TokenType {
BEGIN_STRING,
BEGIN_NUMBER,
BEGIN_TRUE,
BEGIN_FALSE,
BEGIN_NULL,
BEGIN_OBJECT,
END_OBJECT,
BEGIN_ARRAY,
END_ARRAY,
ENTRY_SEPARATOR,
VALUE_SEPARATOR,
BEGIN_KEY,
UNKNOWN,
BEGIN_STRING,
BEGIN_NUMBER,
BEGIN_TRUE,
BEGIN_FALSE,
BEGIN_NULL,
BEGIN_OBJECT,
END_OBJECT,
BEGIN_ARRAY,
END_ARRAY,
ENTRY_SEPARATOR,
VALUE_SEPARATOR,
BEGIN_KEY,
UNKNOWN
} |
| |
◆ ParseErrorType
| Enumerator |
|---|
| UNKNOWN_PARSE_ERROR | |
| OCTAL_OR_HEX_ARE_NOT_VALID_JSON_VALUES | |
| EXPECTED_COLON | |
| EXPECTED_COMMA_OR_BRACKET | |
| EXPECTED_VALUE | |
| EXPECTED_COMMA_OR_BRACES | |
| EXPECTED_OBJECT_KEY_OR_BRACES | |
| EXPECTED_VALUE_OR_BRACKET | |
| INVALID_KEY_OR_VARIABLE_NAME | |
| NON_UTF_8 | |
| PARSING_TERMINATED_BEFORE_END_OF_INPUT | |
| UNEXPECTED_TOKEN | |
| EXPECTED_CLOSING_QUOTE | |
| ILLEGAL_HEX_STRING | |
| INVALID_ESCAPE_SEQUENCE | |
| MISSING_LOW_SURROGATE | |
| INVALID_LOW_SURROGATE | |
| INVALID_UNICODE | |
| UNABLE_TO_PARSE_NUMBER | |
| NUMBER_EXCEEDS_RANGE_DOUBLE | |
Definition at line 101 of file protobuf/src/google/protobuf/util/internal/json_stream_parser.h.
◆ ParseType [1/2]
◆ ParseType [2/2]
◆ TokenType [1/2]
| Enumerator |
|---|
| BEGIN_STRING | |
| BEGIN_NUMBER | |
| BEGIN_TRUE | |
| BEGIN_FALSE | |
| BEGIN_NULL | |
| BEGIN_OBJECT | |
| END_OBJECT | |
| BEGIN_ARRAY | |
| END_ARRAY | |
| ENTRY_SEPARATOR | |
| VALUE_SEPARATOR | |
| BEGIN_KEY | |
| UNKNOWN | |
| BEGIN_STRING | |
| BEGIN_NUMBER | |
| BEGIN_TRUE | |
| BEGIN_FALSE | |
| BEGIN_NULL | |
| BEGIN_OBJECT | |
| END_OBJECT | |
| BEGIN_ARRAY | |
| END_ARRAY | |
| ENTRY_SEPARATOR | |
| VALUE_SEPARATOR | |
| BEGIN_KEY | |
| UNKNOWN | |
Definition at line 96 of file bloaty/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.h.
◆ TokenType [2/2]
| Enumerator |
|---|
| BEGIN_STRING | |
| BEGIN_NUMBER | |
| BEGIN_TRUE | |
| BEGIN_FALSE | |
| BEGIN_NULL | |
| BEGIN_OBJECT | |
| END_OBJECT | |
| BEGIN_ARRAY | |
| END_ARRAY | |
| ENTRY_SEPARATOR | |
| VALUE_SEPARATOR | |
| BEGIN_KEY | |
| UNKNOWN | |
| BEGIN_STRING | |
| BEGIN_NUMBER | |
| BEGIN_TRUE | |
| BEGIN_FALSE | |
| BEGIN_NULL | |
| BEGIN_OBJECT | |
| END_OBJECT | |
| BEGIN_ARRAY | |
| END_ARRAY | |
| ENTRY_SEPARATOR | |
| VALUE_SEPARATOR | |
| BEGIN_KEY | |
| UNKNOWN | |
Definition at line 129 of file protobuf/src/google/protobuf/util/internal/json_stream_parser.h.
◆ JsonStreamParser() [1/2]
| google::protobuf::util::converter::JsonStreamParser::JsonStreamParser |
( |
ObjectWriter * |
ow | ) |
|
|
explicit |
◆ ~JsonStreamParser() [1/2]
| google::protobuf::util::converter::JsonStreamParser::~JsonStreamParser |
( |
| ) |
|
|
virtual |
◆ JsonStreamParser() [2/2]
| google::protobuf::util::converter::JsonStreamParser::JsonStreamParser |
( |
ObjectWriter * |
ow | ) |
|
|
explicit |
◆ ~JsonStreamParser() [2/2]
| virtual google::protobuf::util::converter::JsonStreamParser::~JsonStreamParser |
( |
| ) |
|
|
virtual |
◆ Advance() [1/2]
| void google::protobuf::util::converter::JsonStreamParser::Advance |
( |
| ) |
|
|
private |
◆ Advance() [2/2]
| void google::protobuf::util::converter::JsonStreamParser::Advance |
( |
| ) |
|
|
private |
◆ FinishParse() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::FinishParse |
( |
| ) |
|
◆ FinishParse() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::FinishParse |
( |
| ) |
|
◆ GetNextTokenType() [1/2]
◆ GetNextTokenType() [2/2]
| TokenType google::protobuf::util::converter::JsonStreamParser::GetNextTokenType |
( |
| ) |
|
|
private |
◆ GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS() [1/2]
| google::protobuf::util::converter::JsonStreamParser::GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
JsonStreamParser |
| ) |
|
|
private |
◆ GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS() [2/2]
| google::protobuf::util::converter::JsonStreamParser::GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
JsonStreamParser |
| ) |
|
|
private |
◆ HandleBeginArray() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::HandleBeginArray |
( |
| ) |
|
|
private |
◆ HandleBeginArray() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::HandleBeginArray |
( |
| ) |
|
|
private |
◆ HandleBeginObject() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::HandleBeginObject |
( |
| ) |
|
|
private |
◆ HandleBeginObject() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::HandleBeginObject |
( |
| ) |
|
|
private |
◆ IncrementRecursionDepth() [1/2]
◆ IncrementRecursionDepth() [2/2]
◆ IsEmptyNullAllowed() [1/2]
| bool google::protobuf::util::converter::JsonStreamParser::IsEmptyNullAllowed |
( |
TokenType |
type | ) |
|
|
private |
◆ IsEmptyNullAllowed() [2/2]
| bool google::protobuf::util::converter::JsonStreamParser::IsEmptyNullAllowed |
( |
TokenType |
type | ) |
|
|
private |
◆ IsInputAllWhiteSpaces()
| bool google::protobuf::util::converter::JsonStreamParser::IsInputAllWhiteSpaces |
( |
TokenType |
type | ) |
|
|
private |
◆ Parse() [1/2]
◆ Parse() [2/2]
◆ ParseArrayMid() [1/2]
◆ ParseArrayMid() [2/2]
◆ ParseArrayValue() [1/2]
◆ ParseArrayValue() [2/2]
◆ ParseChunk() [1/2]
◆ ParseChunk() [2/2]
◆ ParseDoubleHelper() [1/2]
◆ ParseDoubleHelper() [2/2]
◆ ParseEmptyNull() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseEmptyNull |
( |
| ) |
|
|
private |
◆ ParseEmptyNull() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseEmptyNull |
( |
| ) |
|
|
private |
◆ ParseEntry() [1/2]
◆ ParseEntry() [2/2]
◆ ParseEntryMid() [1/2]
◆ ParseEntryMid() [2/2]
◆ ParseFalse() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseFalse |
( |
| ) |
|
|
private |
◆ ParseFalse() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseFalse |
( |
| ) |
|
|
private |
◆ ParseKey() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseKey |
( |
| ) |
|
|
private |
◆ ParseKey() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseKey |
( |
| ) |
|
|
private |
◆ ParseNull() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseNull |
( |
| ) |
|
|
private |
◆ ParseNull() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseNull |
( |
| ) |
|
|
private |
◆ ParseNumber() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseNumber |
( |
| ) |
|
|
private |
◆ ParseNumber() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseNumber |
( |
| ) |
|
|
private |
◆ ParseNumberHelper() [1/2]
◆ ParseNumberHelper() [2/2]
◆ ParseObjectMid() [1/2]
◆ ParseObjectMid() [2/2]
◆ ParseString() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseString |
( |
| ) |
|
|
private |
◆ ParseString() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseString |
( |
| ) |
|
|
private |
◆ ParseStringHelper() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseStringHelper |
( |
| ) |
|
|
private |
◆ ParseStringHelper() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseStringHelper |
( |
| ) |
|
|
private |
◆ ParseTrue() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseTrue |
( |
| ) |
|
|
private |
◆ ParseTrue() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseTrue |
( |
| ) |
|
|
private |
◆ ParseUnicodeEscape() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseUnicodeEscape |
( |
| ) |
|
|
private |
◆ ParseUnicodeEscape() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::ParseUnicodeEscape |
( |
| ) |
|
|
private |
◆ ParseValue() [1/2]
◆ ParseValue() [2/2]
◆ recursion_depth() [1/2]
| int google::protobuf::util::converter::JsonStreamParser::recursion_depth |
( |
| ) |
|
|
inlineprivate |
◆ recursion_depth() [2/2]
| int google::protobuf::util::converter::JsonStreamParser::recursion_depth |
( |
| ) |
|
|
inlineprivate |
◆ ReportFailure() [1/2]
◆ ReportFailure() [2/2]
◆ ReportUnknown() [1/2]
◆ ReportUnknown() [2/2]
◆ RunParser() [1/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::RunParser |
( |
| ) |
|
|
private |
◆ RunParser() [2/2]
| util::Status google::protobuf::util::converter::JsonStreamParser::RunParser |
( |
| ) |
|
|
private |
◆ set_max_recursion_depth() [1/2]
| void google::protobuf::util::converter::JsonStreamParser::set_max_recursion_depth |
( |
int |
max_depth | ) |
|
|
inline |
◆ set_max_recursion_depth() [2/2]
| void google::protobuf::util::converter::JsonStreamParser::set_max_recursion_depth |
( |
int |
max_depth | ) |
|
|
inline |
◆ SkipWhitespace() [1/2]
| void google::protobuf::util::converter::JsonStreamParser::SkipWhitespace |
( |
| ) |
|
|
private |
◆ SkipWhitespace() [2/2]
| void google::protobuf::util::converter::JsonStreamParser::SkipWhitespace |
( |
| ) |
|
|
private |
◆ JsonStreamParserTest
◆ allow_empty_null_
| bool google::protobuf::util::converter::JsonStreamParser::allow_empty_null_ |
|
private |
◆ allow_no_root_element_
| bool google::protobuf::util::converter::JsonStreamParser::allow_no_root_element_ |
|
private |
◆ allow_permissive_key_naming_
| bool google::protobuf::util::converter::JsonStreamParser::allow_permissive_key_naming_ |
|
private |
◆ chunk_storage_
| std::string google::protobuf::util::converter::JsonStreamParser::chunk_storage_ |
|
private |
◆ coerce_to_utf8_
| bool google::protobuf::util::converter::JsonStreamParser::coerce_to_utf8_ |
|
private |
◆ finishing_
| bool google::protobuf::util::converter::JsonStreamParser::finishing_ |
|
private |
◆ json_
| StringPiece google::protobuf::util::converter::JsonStreamParser::json_ |
|
private |
◆ key_
| StringPiece google::protobuf::util::converter::JsonStreamParser::key_ |
|
private |
◆ key_storage_
| std::string google::protobuf::util::converter::JsonStreamParser::key_storage_ |
|
private |
◆ leftover_
| std::string google::protobuf::util::converter::JsonStreamParser::leftover_ |
|
private |
◆ loose_float_number_conversion_
| bool google::protobuf::util::converter::JsonStreamParser::loose_float_number_conversion_ |
|
private |
◆ max_recursion_depth_
| int google::protobuf::util::converter::JsonStreamParser::max_recursion_depth_ |
|
private |
◆ ow_
| ObjectWriter * google::protobuf::util::converter::JsonStreamParser::ow_ |
|
private |
◆ p_
| StringPiece google::protobuf::util::converter::JsonStreamParser::p_ |
|
private |
◆ parsed_
| StringPiece google::protobuf::util::converter::JsonStreamParser::parsed_ |
|
private |
◆ parsed_storage_
| std::string google::protobuf::util::converter::JsonStreamParser::parsed_storage_ |
|
private |
◆ recursion_depth_
| int google::protobuf::util::converter::JsonStreamParser::recursion_depth_ |
|
mutableprivate |
◆ seen_non_whitespace_
| bool google::protobuf::util::converter::JsonStreamParser::seen_non_whitespace_ |
|
private |
◆ stack_
◆ string_open_
| char google::protobuf::util::converter::JsonStreamParser::string_open_ |
|
private |
◆ utf8_replacement_character_
| std::string google::protobuf::util::converter::JsonStreamParser::utf8_replacement_character_ |
|
private |
The documentation for this class was generated from the following files: