Class JsonSerializerSettingsExtensions
Version: 21.x
Extensions to support JSON serializer settings.
Inheritance
System.Object
JsonSerializerSettingsExtensions
Namespace: Sitecore.LayoutService.Client.Newtonsoft.Extensions
Assembly: Sitecore.LayoutService.Client.Newtonsoft.dll
Syntax
Methods
SetDefaults(JsonSerializerSettings)
Sets all defaults for serialization with the Sitecore layout service.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.JsonSerializerSettings | settings | The instance of Newtonsoft.Json.JsonSerializerSettings to update. |
Returns
| Type | Description |
|---|---|
| Newtonsoft.Json.JsonSerializerSettings | The updated settings. |
If you have suggestions for improving this article, let us know!