共用方式為


ExpandableStringEnumConverter<T> Class

Definition

Json converter for expandable enums.

public class ExpandableStringEnumConverter<T> : Newtonsoft.Json.JsonConverter where T : ExpandableStringEnum<T>, new()
type ExpandableStringEnumConverter<'T (requires 'T :> ExpandableStringEnum<'T> and 'T : (new : unit -> 'T))> = class
    inherit JsonConverter
Public Class ExpandableStringEnumConverter(Of T)
Inherits JsonConverter

Type Parameters

T
Inheritance
Newtonsoft.Json.JsonConverter
ExpandableStringEnumConverter<T>

Constructors

ExpandableStringEnumConverter<T>()

Methods

CanConvert(Type)
ReadJson(JsonReader, Type, Object, JsonSerializer)
WriteJson(JsonWriter, Object, JsonSerializer)

Applies to