JsonSerializerOptions.UnknownTypeHandling 属性

定义

获取或设置一个对象,该对象指定反序列化过程中声明为 Object 反序列化的类型的处理方式。

public:
 property System::Text::Json::Serialization::JsonUnknownTypeHandling UnknownTypeHandling { System::Text::Json::Serialization::JsonUnknownTypeHandling get(); void set(System::Text::Json::Serialization::JsonUnknownTypeHandling value); };
public System.Text.Json.Serialization.JsonUnknownTypeHandling UnknownTypeHandling { get; set; }
member this.UnknownTypeHandling : System.Text.Json.Serialization.JsonUnknownTypeHandling with get, set
Public Property UnknownTypeHandling As JsonUnknownTypeHandling

属性值

JsonUnknownTypeHandling

适用于