---
title: "クラスフィールドパーサー"
slug: "sitecore.layoutservice.client.json.converter.fieldparser"
abstract: ""
---
# クラスフィールドパーサー

フィールドの変換を担当します。

## 相続

System.Object

フィールドパーサー

### 実装

[IFieldParser](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.json.converter.ifieldparser.html)

#### **名前空間**:Sitecore。LayoutService.Client.Json.Converter

##### **アセンブリ**:Sitecore。LayoutService.Client.Json.dll

##### 構文論

public class FieldParser : Object, IFieldParser

### コンストラクター

#### フィールドパーサー()

##### 宣言

public FieldParser()

### 方法

#### ParseFields(JsonSerializerOptions, ref Utf8JsonReader)

JSONを読み取り、[IFieldReader](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.model.ifieldreader.html)に変換します。

##### 宣言

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

##### パラメータ

種類

名称

概要

System.Text.Json.JsonSerializerOptions

オプション

使用すべきシリアライズオプションを指定するオブジェクトです。

System.Text.Json.Utf8JsonReader

読者

読者。

##### 返還

種類

概要

System.Collections.Generic.辞書  
  
<  
  
System.String  
  
,  
  
IFieldリーダー  
  
\>

解析されたフィールド。

### 実装

[IFieldParser](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.json.converter.ifieldparser.html)