Class LineStringJsonConverter

Namespace
Cratis.Json
Assembly
Cratis.Fundamentals.dll

Represents a JsonConverter<T> for LineString that follows GeoJSON format.

public class LineStringJsonConverter : JsonConverter<LineString>
Inheritance
LineStringJsonConverter
Inherited Members
Extension Methods

Constructors

LineStringJsonConverter()

public LineStringJsonConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override LineString Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

LineString

Write(Utf8JsonWriter, LineString, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, LineString value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
value LineString
options JsonSerializerOptions