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

JsonSettingWrap 类

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

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

继承层次
SystemObject
  JsonSerializerSettings
    Senparc.CO2NET.Helpers.SerializersJsonSettingWrap

命名空间:  Senparc.CO2NET.Helpers.Serializers
程序集:  Senparc.CO2NET (在 Senparc.CO2NET.dll 中) 版本:1.4.300-preview.3.21201.4.100+9de96adf02982fcbddc436d3680e19a719e9d8b2
语法
public class JsonSettingWrap : JsonSerializerSettings

JsonSettingWrap 类型公开以下成员。

构造函数
属性
  名称说明
公共属性Binder 已过时。
Gets or sets the SerializationBinder used by the serializer when resolving type names.
(继承自 JsonSerializerSettings。)
公共属性CheckAdditionalContent
Gets a value indicating whether there will be a check for additional content after deserializing an object. The default value is false.
(继承自 JsonSerializerSettings。)
公共属性ConstructorHandling
Gets or sets how constructors are used during deserialization. The default value is Default.
(继承自 JsonSerializerSettings。)
公共属性Context
Gets or sets the StreamingContext used by the serializer when invoking serialization callback methods.
(继承自 JsonSerializerSettings。)
公共属性ContractResolver
Gets or sets the contract resolver used by the serializer when serializing .NET objects to JSON and vice versa.
(继承自 JsonSerializerSettings。)
公共属性Converters
Gets or sets a JsonConverter collection that will be used during serialization.
(继承自 JsonSerializerSettings。)
公共属性Culture
Gets or sets the culture used when reading JSON. The default value is InvariantCulture.
(继承自 JsonSerializerSettings。)
公共属性DateFormatHandling
Gets or sets how dates are written to JSON text. The default value is IsoDateFormat.
(继承自 JsonSerializerSettings。)
公共属性DateFormatString
Gets or sets how DateTime and DateTimeOffset values are formatted when writing JSON text, and the expected date format when reading JSON text. The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
(继承自 JsonSerializerSettings。)
公共属性DateParseHandling
Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. The default value is DateTime.
(继承自 JsonSerializerSettings。)
公共属性DateTimeZoneHandling
Gets or sets how DateTime time zones are handled during serialization and deserialization. The default value is RoundtripKind.
(继承自 JsonSerializerSettings。)
公共属性DefaultValueHandling
Gets or sets how default values are handled during serialization and deserialization. The default value is Include.
(继承自 JsonSerializerSettings。)
公共属性EqualityComparer
Gets or sets the equality comparer used by the serializer when comparing references.
(继承自 JsonSerializerSettings。)
公共属性Error
Gets or sets the error handler called during serialization and deserialization.
(继承自 JsonSerializerSettings。)
公共属性FloatFormatHandling
Gets or sets how special floating point numbers, e.g. NaN, PositiveInfinity and NegativeInfinity, are written as JSON. The default value is String.
(继承自 JsonSerializerSettings。)
公共属性FloatParseHandling
Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. The default value is Double.
(继承自 JsonSerializerSettings。)
公共属性Formatting
Indicates how JSON text output is formatted. The default value is None.
(继承自 JsonSerializerSettings。)
公共属性MaxDepth
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a JsonReaderException. A null value means there is no maximum. The default value is null.
(继承自 JsonSerializerSettings。)
公共属性MetadataPropertyHandling
Gets or sets how metadata properties are used during deserialization. The default value is Default.
(继承自 JsonSerializerSettings。)
公共属性MissingMemberHandling
Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. The default value is Ignore.
(继承自 JsonSerializerSettings。)
公共属性NullValueHandling
Gets or sets how null values are handled during serialization and deserialization. The default value is Include.
(继承自 JsonSerializerSettings。)
公共属性ObjectCreationHandling
Gets or sets how objects are created during deserialization. The default value is Auto.
(继承自 JsonSerializerSettings。)
公共属性PreserveReferencesHandling
Gets or sets how object references are preserved by the serializer. The default value is None.
(继承自 JsonSerializerSettings。)
公共属性ReferenceLoopHandling
Gets or sets how reference loops (e.g. a class referencing itself) are handled. The default value is Error.
(继承自 JsonSerializerSettings。)
公共属性ReferenceResolver 已过时。
Gets or sets the IReferenceResolver used by the serializer when resolving references.
(继承自 JsonSerializerSettings。)
公共属性ReferenceResolverProvider
Gets or sets a function that creates the IReferenceResolver used by the serializer when resolving references.
(继承自 JsonSerializerSettings。)
公共属性SerializationBinder
Gets or sets the ISerializationBinder used by the serializer when resolving type names.
(继承自 JsonSerializerSettings。)
公共属性StringEscapeHandling
Gets or sets how strings are escaped when writing JSON text. The default value is Default.
(继承自 JsonSerializerSettings。)
公共属性TraceWriter
Gets or sets the ITraceWriter used by the serializer when writing trace messages.
(继承自 JsonSerializerSettings。)
公共属性TypeNameAssemblyFormat 已过时。
Gets or sets how a type name assembly is written and resolved by the serializer. The default value is Simple.
(继承自 JsonSerializerSettings。)
公共属性TypeNameAssemblyFormatHandling
Gets or sets how a type name assembly is written and resolved by the serializer. The default value is Simple.
(继承自 JsonSerializerSettings。)
公共属性TypeNameHandling
Gets or sets how type name writing and reading is handled by the serializer. The default value is None.
(继承自 JsonSerializerSettings。)
Top
字段
  名称说明
受保护的字段_checkAdditionalContent (继承自 JsonSerializerSettings。)
受保护的字段_constructorHandling (继承自 JsonSerializerSettings。)
受保护的字段_context (继承自 JsonSerializerSettings。)
受保护的字段_culture (继承自 JsonSerializerSettings。)
受保护的字段_dateFormatHandling (继承自 JsonSerializerSettings。)
受保护的字段_dateFormatString (继承自 JsonSerializerSettings。)
受保护的字段_dateFormatStringSet (继承自 JsonSerializerSettings。)
受保护的字段_dateParseHandling (继承自 JsonSerializerSettings。)
受保护的字段_dateTimeZoneHandling (继承自 JsonSerializerSettings。)
受保护的字段_defaultValueHandling (继承自 JsonSerializerSettings。)
受保护的字段_floatFormatHandling (继承自 JsonSerializerSettings。)
受保护的字段_floatParseHandling (继承自 JsonSerializerSettings。)
受保护的字段_formatting (继承自 JsonSerializerSettings。)
受保护的字段_maxDepth (继承自 JsonSerializerSettings。)
受保护的字段_maxDepthSet (继承自 JsonSerializerSettings。)
受保护的字段_metadataPropertyHandling (继承自 JsonSerializerSettings。)
受保护的字段_missingMemberHandling (继承自 JsonSerializerSettings。)
受保护的字段_nullValueHandling (继承自 JsonSerializerSettings。)
受保护的字段_objectCreationHandling (继承自 JsonSerializerSettings。)
受保护的字段_preserveReferencesHandling (继承自 JsonSerializerSettings。)
受保护的字段_referenceLoopHandling (继承自 JsonSerializerSettings。)
受保护的字段_stringEscapeHandling (继承自 JsonSerializerSettings。)
受保护的字段_typeNameAssemblyFormatHandling (继承自 JsonSerializerSettings。)
受保护的字段_typeNameHandling (继承自 JsonSerializerSettings。)
Top
扩展方法
  名称说明
公共扩展器方法Serialize
序列化对象
(由 StackExchangeRedisExtensions 定义。)
公共扩展器方法ToHashEntries
Serialize in Redis format
(由 RedisUtils 定义。)
公共扩展器方法ToJson
把数据转换为Json格式(使用Newtonsoft.Json.dll)
(由 ObjectExtensions 定义。)
Top
参见