---
title: "Interface ISitecoreLayoutSerializer"
slug: "sitecore.layoutservice.client.isitecorelayoutserializer"
abstract: ""
---
# Interface ISitecoreLayoutSerializer

Contract that supports serialization for the Sitecore layout service.

## **Namespace**: Sitecore.LayoutService.Client

### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

#### Syntax

```csharp
public interface ISitecoreLayoutSerializer

```

### Methods

#### Deserialize(String)

Deserializes the given data to a [SitecoreLayoutResponseContent](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.sitecorelayoutresponsecontent.html).

##### Declaration

```csharp
SitecoreLayoutResponseContent Deserialize(string data)

```

##### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | data | The data to deserialize. |

##### Returns

| Type | Description |
| --- | --- |
| SitecoreLayoutResponseContent | The deserialized [SitecoreLayoutResponseContent](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.sitecorelayoutresponsecontent.html). |
