Struct JsonWriterOptions
Structure used to define custom behavior when writing JSON using the JsonWriter.
Inherited Members
Namespace: Unity.Serialization.Json
Assembly: Unity.Serialization.dll
Syntax
public struct JsonWriterOptions
Properties
Indent
The indent value to use for the writer.
Declaration
public int Indent { readonly get; set; }
Property Value
Type | Description |
---|---|
int |
Minified
Gets or sets the value indicating whether the JsonWriter should skip formatting the output. This skips indentation, newlines and whitespace.
Declaration
public bool Minified { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
Simplified
Gets or sets the value indicating whether the JsonWriter should use JSON formatting. This skips optional quotes and commas.
Declaration
public bool Simplified { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
StringEscapeHandling
Defines how special characters should be escaped when writing strings.
Declaration
public bool StringEscapeHandling { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |