---
title: "Interface IFieldParser"
slug: "sitecore.layoutservice.client.json.converter.ifieldparser"
abstract: ""
---
# Interface IFieldParser

Handles conversion of a Field.

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

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

#### Syntax

```csharp
public interface IFieldParser

```

### Methods

#### ParseFields(JsonSerializerOptions, ref Utf8JsonReader)

Reads Json and converts to [IFieldReader](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.model.ifieldreader.html).

##### Declaration

```csharp
Dictionary<string, IFieldReader> ParseFields(JsonSerializerOptions options, ref Utf8JsonReader reader)

```

##### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Text.Json.JsonSerializerOptions | options | An object that specifies serialization options to use. |
| System.Text.Json.Utf8JsonReader | reader | The reader. |

##### Returns

| Type | Description |
| --- | --- |
| System.Collections.Generic.Dictionary<br><br><<br><br>System.String<br><br>,<br><br>IFieldReader<br><br>> | Parsed fields. |
