#include <json_stream_parser.h>
|
enum | ParseType {
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
} |
|
Definition at line 70 of file json_stream_parser.h.
◆ ParseType
◆ TokenType
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 | |
Definition at line 96 of file json_stream_parser.h.
◆ JsonStreamParser()
google::protobuf::util::converter::JsonStreamParser::JsonStreamParser |
( |
ObjectWriter * |
ow | ) |
|
|
explicit |
◆ ~JsonStreamParser()
google::protobuf::util::converter::JsonStreamParser::~JsonStreamParser |
( |
| ) |
|
|
virtual |
◆ Advance()
void google::protobuf::util::converter::JsonStreamParser::Advance |
( |
| ) |
|
|
private |
◆ FinishParse()
util::Status google::protobuf::util::converter::JsonStreamParser::FinishParse |
( |
| ) |
|
◆ GetNextTokenType()
◆ GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS()
google::protobuf::util::converter::JsonStreamParser::GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
JsonStreamParser |
| ) |
|
|
private |
◆ HandleBeginArray()
util::Status google::protobuf::util::converter::JsonStreamParser::HandleBeginArray |
( |
| ) |
|
|
private |
◆ HandleBeginObject()
util::Status google::protobuf::util::converter::JsonStreamParser::HandleBeginObject |
( |
| ) |
|
|
private |
◆ IncrementRecursionDepth()
◆ IsEmptyNullAllowed()
bool google::protobuf::util::converter::JsonStreamParser::IsEmptyNullAllowed |
( |
TokenType |
type | ) |
|
|
private |
◆ Parse()
◆ ParseArrayMid()
◆ ParseArrayValue()
◆ ParseChunk()
◆ ParseDoubleHelper()
◆ ParseEmptyNull()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseEmptyNull |
( |
| ) |
|
|
private |
◆ ParseEntry()
◆ ParseEntryMid()
◆ ParseFalse()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseFalse |
( |
| ) |
|
|
private |
◆ ParseKey()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseKey |
( |
| ) |
|
|
private |
◆ ParseNull()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseNull |
( |
| ) |
|
|
private |
◆ ParseNumber()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseNumber |
( |
| ) |
|
|
private |
◆ ParseNumberHelper()
◆ ParseObjectMid()
◆ ParseString()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseString |
( |
| ) |
|
|
private |
◆ ParseStringHelper()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseStringHelper |
( |
| ) |
|
|
private |
◆ ParseTrue()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseTrue |
( |
| ) |
|
|
private |
◆ ParseUnicodeEscape()
util::Status google::protobuf::util::converter::JsonStreamParser::ParseUnicodeEscape |
( |
| ) |
|
|
private |
◆ ParseValue()
◆ recursion_depth()
int google::protobuf::util::converter::JsonStreamParser::recursion_depth |
( |
| ) |
|
|
inlineprivate |
◆ ReportFailure()
◆ ReportUnknown()
◆ RunParser()
util::Status google::protobuf::util::converter::JsonStreamParser::RunParser |
( |
| ) |
|
|
private |
◆ set_max_recursion_depth()
void google::protobuf::util::converter::JsonStreamParser::set_max_recursion_depth |
( |
int |
max_depth | ) |
|
|
inline |
◆ SkipWhitespace()
void google::protobuf::util::converter::JsonStreamParser::SkipWhitespace |
( |
| ) |
|
|
private |
◆ JsonStreamParserTest
◆ allow_empty_null_
bool google::protobuf::util::converter::JsonStreamParser::allow_empty_null_ |
|
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 |
◆ stack_
std::stack<ParseType> google::protobuf::util::converter::JsonStreamParser::stack_ |
|
private |
◆ string_open_
char google::protobuf::util::converter::JsonStreamParser::string_open_ |
|
private |
The documentation for this class was generated from the following files: