JsonSerializerSettings Class

Namespace: Stimulsoft.Base.Json

Specifies the settings on a JsonSerializer object.

Constructors

Constructor Description
JsonSerializerSettings() Initializes a new instance of the JsonSerializerSettings class.

JsonSerializerSettings()

Initializes a new instance of the JsonSerializerSettings class.

Properties

Property Type Description
Binder SerializationBinder Gets or sets the SerializationBinder used by the serializer when resolving type names.
ContractResolver IContractResolver Gets or sets the contract resolver used by the serializer when serializing .NET objects to JSON and vice versa.
Converters IList<JsonConverter> Gets or sets a collection JsonConverter that will be used during serialization.
Error EventHandler<ErrorEventArgs> Gets or sets the error handler called during serialization and deserialization.
ReferenceResolver IReferenceResolver Gets or sets the IReferenceResolver used by the serializer when resolving references.
TraceWriter ITraceWriter Gets or sets the ITraceWriter used by the serializer when writing trace messages.