NewtonsoftParityInt64Converter
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline
64-bit twin of NewtonsoftParityInt32Converter; see there for the full rationale.
public sealed class NewtonsoftParityInt64Converter : JsonConverter<Int64>
Inheritance Object → JsonConverter → JsonConverter<Int64> → NewtonsoftParityInt64Converter
Properties
HandleNull
public bool HandleNull { get; }
Property Value
Type
public Type Type { get; }
Property Value
Constructors
NewtonsoftParityInt64Converter()
public NewtonsoftParityInt64Converter()
Methods
Read(out Utf8JsonReader, Type, JsonSerializerOptions)
public long Read(out Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions
Returns
Write(Utf8JsonWriter, Int64, JsonSerializerOptions)
public void Write(Utf8JsonWriter writer, long value, JsonSerializerOptions options)
Parameters
writer Utf8JsonWriter
value Int64
options JsonSerializerOptions
ReadAsPropertyName(out Utf8JsonReader, Type, JsonSerializerOptions)
public long ReadAsPropertyName(out Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions
Returns
WriteAsPropertyName(Utf8JsonWriter, Int64, JsonSerializerOptions)
public void WriteAsPropertyName(Utf8JsonWriter writer, long value, JsonSerializerOptions options)
Parameters
writer Utf8JsonWriter
value Int64
options JsonSerializerOptions