Class NullableInt64Converter
- Namespace
- NetCord.JsonConverters
- Assembly
- NetCord.dll
public class NullableInt64Converter : JsonConverter<ulong?>
- Inheritance
-
NullableInt64Converter
- Inherited Members
-
Constructors
NullableInt64Converter()
public NullableInt64Converter()
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
public override ulong? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReader
typeToConvert
Type
options
JsonSerializerOptions
Returns
- ulong?
ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
public override ulong? ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReader
typeToConvert
Type
options
JsonSerializerOptions
Returns
- ulong?
Write(Utf8JsonWriter, ulong?, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, ulong? value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWriter
value
ulong?
options
JsonSerializerOptions
WriteAsPropertyName(Utf8JsonWriter, ulong?, JsonSerializerOptions)
public override void WriteAsPropertyName(Utf8JsonWriter writer, ulong? value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWriter
value
ulong?
options
JsonSerializerOptions