OrleansJsonSerializer.UpdateSerializerSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration) |
Customises the given serializer settings using provider configuration. Can be used by any provider, allowing the users to use a standard set of configuration attributes. |
UpdateSerializerSettings(JsonSerializerSettings, Boolean, Boolean, Nullable<TypeNameHandling>) |
UpdateSerializerSettings(JsonSerializerSettings, IProviderConfiguration)
- Source:
- OrleansJsonSerializer.cs
Customises the given serializer settings using provider configuration. Can be used by any provider, allowing the users to use a standard set of configuration attributes.
public static Newtonsoft.Json.JsonSerializerSettings UpdateSerializerSettings (Newtonsoft.Json.JsonSerializerSettings settings, Orleans.Providers.IProviderConfiguration config);
static member UpdateSerializerSettings : Newtonsoft.Json.JsonSerializerSettings * Orleans.Providers.IProviderConfiguration -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function UpdateSerializerSettings (settings As JsonSerializerSettings, config As IProviderConfiguration) As JsonSerializerSettings
Parameters
- settings
- Newtonsoft.Json.JsonSerializerSettings
The settings to update.
- config
- IProviderConfiguration
The provider config.
Returns
The updated Newtonsoft.Json.JsonSerializerSettings.
Applies to
UpdateSerializerSettings(JsonSerializerSettings, Boolean, Boolean, Nullable<TypeNameHandling>)
- Source:
- OrleansJsonSerializer.cs
public static Newtonsoft.Json.JsonSerializerSettings UpdateSerializerSettings (Newtonsoft.Json.JsonSerializerSettings settings, bool useFullAssemblyNames, bool indentJson, Newtonsoft.Json.TypeNameHandling? typeNameHandling);
static member UpdateSerializerSettings : Newtonsoft.Json.JsonSerializerSettings * bool * bool * Nullable<Newtonsoft.Json.TypeNameHandling> -> Newtonsoft.Json.JsonSerializerSettings
Public Shared Function UpdateSerializerSettings (settings As JsonSerializerSettings, useFullAssemblyNames As Boolean, indentJson As Boolean, typeNameHandling As Nullable(Of TypeNameHandling)) As JsonSerializerSettings
Parameters
- settings
- Newtonsoft.Json.JsonSerializerSettings
- useFullAssemblyNames
- Boolean
- indentJson
- Boolean
- typeNameHandling
- Nullable<Newtonsoft.Json.TypeNameHandling>