Class PermissionsConverter
- Namespace
- NetCord.JsonConverters
- Assembly
- NetCord.dll
public class PermissionsConverter : JsonConverter<Permissions>
- Inheritance
-
PermissionsConverter
- Inherited Members
Constructors
PermissionsConverter()
public PermissionsConverter()
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
public override Permissions Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReadertypeToConvert
Typeoptions
JsonSerializerOptions
Returns
Write(Utf8JsonWriter, Permissions, JsonSerializerOptions)
public override void Write(Utf8JsonWriter writer, Permissions value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWritervalue
Permissionsoptions
JsonSerializerOptions