JsonSerializerOptions.UnmappedMemberHandling 属性

定义

获取或设置一个 对象,该对象指定在反序列化对象类型时如何处理 JsonSerializer 无法映射到特定 .NET 成员的 JSON 属性。

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

属性值

适用于