Class JsonSerializerOptions
Inheritance
System.Object
JsonSerializerOptions
Namespace: MediaBrowser.Model.Serialization
Assembly: MediaBrowser.Model.dll
Syntax
public class JsonSerializerOptions
Properties
ExcludeTypeInfo
Gets or sets a value indicating whether to exclude type information.
Declaration
public bool ExcludeTypeInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
The default is true
.
IncludeNullValues
Gets or sets a value indicating whether members with null values should be included.
Declaration
public bool IncludeNullValues { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
The default is false
.
Indent
Gets or sets a value indicating whether the serialized result should be indented (pretty-printed).
Declaration
public bool Indent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
The default is false
.