Class PointJsonConverter

Namespace
Cratis.Json
Assembly
Cratis.Fundamentals.dll

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

public class PointJsonConverter : JsonConverter<Point>
Inheritance
PointJsonConverter
Inherited Members
Extension Methods

Constructors

PointJsonConverter()

public PointJsonConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

Point

Write(Utf8JsonWriter, Point, JsonSerializerOptions)

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

Parameters

writer Utf8JsonWriter
value Point
options JsonSerializerOptions