Table of Contents

Class AnyValueToStringConverter

Namespace
NetCord.JsonConverters
Assembly
NetCord.dll
public class AnyValueToStringConverter : JsonConverter<string>
Inheritance
AnyValueToStringConverter
Inherited Members

Constructors

AnyValueToStringConverter()

public AnyValueToStringConverter()

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