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 Akka.Serialization.NewtonSoftJsonSerializer.AkkaContractResolver
Inherited Members
Namespace: Akka.Serialization
Assembly: Akka.dll
Syntax
public sealed class NewtonSoftJsonSerializerSetup : Setup
Properties
| Improve this Doc View SourceApplySettings
Declaration
public Action<JsonSerializerSettings> ApplySettings { get; }
Property Value
Type | Description |
---|---|
Action<Newtonsoft.Json.JsonSerializerSettings> |
Methods
| Improve this Doc View SourceCreate(Action<JsonSerializerSettings>)
Declaration
public static NewtonSoftJsonSerializerSetup Create(Action<JsonSerializerSettings> settings)
Parameters
Type | Name | Description |
---|---|---|
Action<Newtonsoft.Json.JsonSerializerSettings> | settings |
Returns
Type | Description |
---|---|
NewtonSoftJsonSerializerSetup |