Class JsonLayoutServiceSerializer
Version: 21.x
Contract that supports serialization for the Sitecore layout service.
Inheritance
System.Object
JsonLayoutServiceSerializer
Implements
Namespace: Sitecore.LayoutService.Client.Json
Assembly: Sitecore.LayoutService.Client.Json.dll
Syntax
Constructors
JsonLayoutServiceSerializer(IEnumerable)
Initializes a new instance of the JsonLayoutServiceSerializer class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable < System.Text.Json.Serialization.JsonConverter > | converters | List of System.Text.Json.Serialization.JsonConverter`1. |
Methods
Deserialize(String)
Deserializes the given data to a SitecoreLayoutResponseContent.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | data | The data to deserialize. |
Returns
| Type | Description |
|---|---|
| SitecoreLayoutResponseContent | The deserialized SitecoreLayoutResponseContent. |
Implements
If you have suggestions for improving this article, let us know!