Skip to main content

PointEnumerableConverter

Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial.Converters

Converter to read and write the IEnumerable<T> type.

public class PointEnumerableConverter : JsonConverter

Inheritance Object → JsonConverter → PointEnumerableConverter

Properties

CanRead

public bool CanRead { get; }

Property Value

Boolean

CanWrite

public bool CanWrite { get; }

Property Value

Boolean

Constructors

PointEnumerableConverter()

public PointEnumerableConverter()

Methods

WriteJson(JsonWriter, Object, JsonSerializer)

public void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)

Parameters

writer JsonWriter

value Object

serializer JsonSerializer

ReadJson(JsonReader, Type, Object, JsonSerializer)

public object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)

Parameters

reader JsonReader

objectType Type

existingValue Object

serializer JsonSerializer

Returns

Object

CanConvert(Type)

public bool CanConvert(Type objectType)

Parameters

objectType Type

Returns

Boolean