Redigera

Dela via


JsonSerializerOptions.Converters Property

Definition

Gets the list of user-defined converters that were registered.

public:
 property System::Collections::Generic::IList<System::Text::Json::Serialization::JsonConverter ^> ^ Converters { System::Collections::Generic::IList<System::Text::Json::Serialization::JsonConverter ^> ^ get(); };
public System.Collections.Generic.IList<System.Text.Json.Serialization.JsonConverter> Converters { get; }
member this.Converters : System.Collections.Generic.IList<System.Text.Json.Serialization.JsonConverter>
Public ReadOnly Property Converters As IList(Of JsonConverter)

Property Value

The list of custom converters.

Remarks

Once serialization or deserialization occurs, the list cannot be modified.

For more information, see How to write custom converters.

Applies to