Edit

Share via


OrleansJsonSerializerSettings.UpdateSerializerSettings Method

Definition

Updates the provided serializer settings with the specified options.

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

The settings.

useFullAssemblyNames
Boolean

if set to true, use full assembly-qualified names when formatting type names.

indentJson
Boolean

if set to true, indent the formatted JSON.

typeNameHandling
Nullable<Newtonsoft.Json.TypeNameHandling>

The type name handling options.

Returns

Newtonsoft.Json.JsonSerializerSettings

The provided serializer settings.

Applies to