Struct SerializedObjectReaderConfiguration
Parameters used to configure the Serialized
Inherited Members
Namespace: Unity.Serialization.Json
Assembly: Unity.Serialization.dll
Syntax
public struct SerializedObjectReaderConfiguration
Fields
BlockBufferSize
The buffer size, in bytes, of the blocks/chunks read from the input stream. The default size is 4096.
Declaration
public int BlockBufferSize
Field Value
Type | Description |
---|---|
int |
Default
The default parameters used by the Serialized
Declaration
public static readonly SerializedObjectReaderConfiguration Default
Field Value
Type | Description |
---|---|
Serialized |
NodeBufferSize
The size of the Node buffer for internal reads. For optimal performance, this should be equal to the maximum batch size. The default size is 128.
Declaration
public int NodeBufferSize
Field Value
Type | Description |
---|---|
int |
OutputBufferSize
The packed binary output buffer size, in bytes. This should be big enough to contain all string and primitive data for the needed scope. The default size is 4096.
Declaration
public int OutputBufferSize
Field Value
Type | Description |
---|---|
int |
StripStringEscapeCharacters
Indicates if escape characters should be stripped when reading strings.
Declaration
public bool StripStringEscapeCharacters
Field Value
Type | Description |
---|---|
bool |
TokenBufferSize
The internal token buffer size, in tokens. This should be big enough to contain all tokens generated from a block. The default size is 1024.
Declaration
public int TokenBufferSize
Field Value
Type | Description |
---|---|
int |
UseReadAsync
If true, the input stream is read asynchronously. The default is true.
Declaration
public bool UseReadAsync
Field Value
Type | Description |
---|---|
bool |
ValidationType
JSON validation type to use. The default is Standard.
Declaration
public JsonValidationType ValidationType
Field Value
Type | Description |
---|---|
Json |