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