webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Properties | List of all members
Google.Protobuf.JsonParser.Settings Class Reference

Settings controlling JSON parsing. More...

Public Member Functions

 Settings (int recursionLimit)
 Creates a new Settings object with the specified recursion limit. More...
 
 Settings (int recursionLimit, TypeRegistry typeRegistry)
 Creates a new Settings object with the specified recursion limit and type registry. More...
 

Properties

static Settings Default [get]
 Default settings, as used by JsonParser.Default. This has the same default recursion limit as CodedInputStream, and an empty type registry. More...
 
int RecursionLimit [get]
 The maximum depth of messages to parse. Note that this limit only applies to parsing messages, not collections - so a message within a collection within a message only counts as depth 2, not 3. More...
 
TypeRegistry TypeRegistry [get]
 The type registry used to parse Any messages. More...
 

Detailed Description

Settings controlling JSON parsing.

Constructor & Destructor Documentation

◆ Settings() [1/2]

Google.Protobuf.JsonParser.Settings.Settings ( int  recursionLimit)
inline

Creates a new Settings object with the specified recursion limit.

Parameters
recursionLimitThe maximum depth of messages to parse

◆ Settings() [2/2]

Google.Protobuf.JsonParser.Settings.Settings ( int  recursionLimit,
TypeRegistry  typeRegistry 
)
inline

Creates a new Settings object with the specified recursion limit and type registry.

Parameters
recursionLimitThe maximum depth of messages to parse
typeRegistryThe type registry used to parse Any messages

Property Documentation

◆ Default

Settings Google.Protobuf.JsonParser.Settings.Default
staticget

Default settings, as used by JsonParser.Default. This has the same default recursion limit as CodedInputStream, and an empty type registry.

◆ RecursionLimit

int Google.Protobuf.JsonParser.Settings.RecursionLimit
get

The maximum depth of messages to parse. Note that this limit only applies to parsing messages, not collections - so a message within a collection within a message only counts as depth 2, not 3.

◆ TypeRegistry

TypeRegistry Google.Protobuf.JsonParser.Settings.TypeRegistry
get

The type registry used to parse Any messages.


The documentation for this class was generated from the following file: