Class JsonFormatterOptions
Specifies options that is related to JsonFormatter operations.
Inheritance
System.Object
JsonFormatterOptions
Namespace: Cuemon.Serialization.Json.Formatters
Assembly: Cuemon.Serialization.Json.dll
Syntax
public class JsonFormatterOptions : object
Constructors
| Improve this DocJsonFormatterOptions()
Initializes a new instance of the JsonFormatterOptions class.
Declaration
public JsonFormatterOptions()
Remarks
The following table shows the initial property values for an instance of JsonFormatterOptions.
Property | Initial Value |
---|---|
Settings | |
SynchronizeWithJsonConvert | true |
IncludeExceptionStackTrace | false |
Properties
| Improve this DocIncludeExceptionStackTrace
Gets or sets a value indicating whether the stack of an exception is included in the converter that handles exceptions.
Declaration
public bool IncludeExceptionStackTrace { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Settings
Gets or sets the settings to support the JsonFormatter.
Declaration
public JsonSerializerSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
JsonSerializerSettings | A |
SynchronizeWithJsonConvert
Gets or sets a value indicating whether Settings should be synchronized on
Declaration
public bool SynchronizeWithJsonConvert { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|