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
Utf8JsonReadertypeToConvert
Typeoptions
JsonSerializerOptions
Returns
Write(Utf8JsonWriter, ContentType, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, ContentType value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWritervalue
ContentTypeoptions
JsonSerializerOptions