Table of Contents

Class ContentTypeConverter

Namespace
NetCord.JsonConverters
Assembly
NetCord.dll
public class ContentTypeConverter : JsonConverter<ContentType>
Inheritance
ContentTypeConverter
Inherited Members

Constructors

ContentTypeConverter()

public ContentTypeConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ContentType

Write(Utf8JsonWriter, ContentType, JsonSerializerOptions)

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

Parameters

writer Utf8JsonWriter
value ContentType
options JsonSerializerOptions