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
readerUtf8JsonReadertypeToConvertTypeoptionsJsonSerializerOptions
Returns
Write(Utf8JsonWriter, LineString, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, LineString value, JsonSerializerOptions options)
Parameters
writerUtf8JsonWritervalueLineStringoptionsJsonSerializerOptions