Class NewtonSoftJsonSerializerSetup
Setup for the NewtonSoftJsonSerializer serializer.
Constructor is INTERNAL API. Use the factory method Create(Action<JsonSerializerSettings>).
NOTE:
- Newtonsoft.Json.JsonSerializerSettings.ObjectCreationHandling will always be overriden with Newtonsoft.Json.ObjectCreationHandling.Replace
- Newtonsoft.Json.JsonSerializerSettings.ContractResolver will always be overriden with the internal contract resolver NewtonSoftJsonSerializer.AkkaContractResolver
Inherited Members
Namespace: Akka.Serialization
Assembly: Akka.dll
Syntax
public sealed class NewtonSoftJsonSerializerSetup : Setup
Properties
| Edit this page View SourceApplySettings
Declaration
public Action<JsonSerializerSettings> ApplySettings { get; }
Property Value
Type | Description |
---|---|
Action<JsonSerializerSettings> |
Methods
| Edit this page View SourceCreate(Action<JsonSerializerSettings>)
Declaration
public static NewtonSoftJsonSerializerSetup Create(Action<JsonSerializerSettings> settings)
Parameters
Type | Name | Description |
---|---|---|
Action<JsonSerializerSettings> | settings |
Returns
Type | Description |
---|---|
NewtonSoftJsonSerializerSetup |