Table of Contents

Class EmbedFieldProperties.EmptyWhenNullStringConverter

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class EmbedFieldProperties.EmptyWhenNullStringConverter : JsonConverter<string>
Inheritance
EmbedFieldProperties.EmptyWhenNullStringConverter
Inherited Members

Constructors

EmptyWhenNullStringConverter()

public EmptyWhenNullStringConverter()

Properties

HandleNull

public override bool HandleNull { get; }

Property Value

bool

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

string

Write(Utf8JsonWriter, string?, JsonSerializerOptions)

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

Parameters

writer Utf8JsonWriter
value string
options JsonSerializerOptions