Class FieldParser

Version: 21.x

Handles conversion of a Field.

Inheritance
System.Object
FieldParser
Implements
Namespace: Sitecore.LayoutService.Client.Json.Converter
Assembly: Sitecore.LayoutService.Client.Json.dll
Syntax
RequestResponse
public class FieldParser : Object, IFieldParser

Constructors

FieldParser()

Declaration
RequestResponse
public FieldParser()

Methods

ParseFields(JsonSerializerOptions, ref Utf8JsonReader)

Reads Json and converts to IFieldReader.

Declaration
RequestResponse
public Dictionary<string, IFieldReader> ParseFields(JsonSerializerOptions options, ref Utf8JsonReader reader)
Parameters
TypeNameDescription
System.Text.Json.JsonSerializerOptionsoptions

An object that specifies serialization options to use.

System.Text.Json.Utf8JsonReaderreader

The reader.

Returns
TypeDescription
System.Collections.Generic.Dictionary<System.String, IFieldReader>

Parsed fields.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,