JsonSettingWrap 类 |
Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】!
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!
NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039
命名空间: Senparc.CO2NET.Helpers.Serializers
JsonSettingWrap 类型公开以下成员。
名称 | 说明 | |
---|---|---|
JsonSettingWrap | 初始化 JsonSettingWrap 类的一个新实例 | |
JsonSettingWrap(JsonSetting) | 初始化 JsonSettingWrap 类的一个新实例 | |
JsonSettingWrap(Boolean, ListString, ListType) | 初始化 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。) |
名称 | 说明 | |
---|---|---|
_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。) |
名称 | 说明 | |
---|---|---|
Serialize |
序列化对象
(由 StackExchangeRedisExtensions 定义。) | |
ToHashEntries |
Serialize in Redis format
(由 RedisUtils 定义。) | |
ToJson |
把数据转换为Json格式(使用Newtonsoft.Json.dll)
(由 ObjectExtensions 定义。) |