点击或拖拽改变大小
盛派网络

JsonContractResolver 属性

Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!

NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039

JsonContractResolver 类型公开以下成员。

属性
  名称说明
公共属性DefaultMembersSearchFlags 已过时。
Gets or sets the default members search flags.
(继承自 DefaultContractResolver。)
公共属性DynamicCodeGeneration
Gets a value indicating whether members are being get and set using dynamic code generation. This value is determined by the runtime permissions available.
(继承自 DefaultContractResolver。)
公共属性IgnoreIsSpecifiedMembers
Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
(继承自 DefaultContractResolver。)
公共属性IgnoreSerializableAttribute
Gets or sets a value indicating whether to ignore the SerializableAttribute attribute when serializing and deserializing types.
(继承自 DefaultContractResolver。)
公共属性IgnoreSerializableInterface
Gets or sets a value indicating whether to ignore the ISerializable interface when serializing and deserializing types.
(继承自 DefaultContractResolver。)
公共属性IgnoreShouldSerializeMembers
Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
(继承自 DefaultContractResolver。)
公共属性NamingStrategy
Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
(继承自 DefaultContractResolver。)
公共属性PropertiesToIgnoreNull
需要特殊忽略null值的属性名称
公共属性SerializeCompilerGeneratedMembers
Gets or sets a value indicating whether compiler generated members should be serialized.
(继承自 DefaultContractResolver。)
公共属性TypesToIgnoreNull
指定类型(Class,非Interface)下的为null属性不生成到Json中
Top
参见