TcHmiJsonSerializer Class
Provides methods to serialize instances of any type from the TcHmiSrv.Core namespace to JSON Strings and back.
Inheritance Hierarchy
System.Object
JsonSerializer
TcHmiSrv.Core.Tools.Json.Newtonsoft.TcHmiJsonSerializer
Namespace: TcHmiSrv.Core.Tools.Json.Newtonsoft
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class TcHmiJsonSerializer : JsonSerializer
The TcHmiJsonSerializer type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the TcHmiJsonSerializer class |
Properties
|
Name |
Description |
---|---|---|
|
Gets a JsonConverterCollection that contains the default JsonConverters with advanced conversions enabled. | |
|
Binder |
Obsolete. (Inherited from JsonSerializer.) |
|
CheckAdditionalContent |
(Inherited from JsonSerializer.) |
|
ConstructorHandling |
(Inherited from JsonSerializer.) |
|
Context |
(Inherited from JsonSerializer.) |
|
ContractResolver |
(Inherited from JsonSerializer.) |
|
Converters |
(Inherited from JsonSerializer.) |
|
Culture |
(Inherited from JsonSerializer.) |
|
DateFormatHandling |
(Inherited from JsonSerializer.) |
|
DateFormatString |
(Inherited from JsonSerializer.) |
|
DateParseHandling |
(Inherited from JsonSerializer.) |
|
DateTimeZoneHandling |
(Inherited from JsonSerializer.) |
|
Obsolete. Gets a JsonConverterCollection that contains the default JsonConverters with advanced conversions enabled. | |
|
Gets a JsonConverterCollection that contains the default JsonConverters. | |
|
Gets the default JsonSerializerSettings. | |
|
Gets the default JsonSerializerSettings with the AdvancedJsonConverters. | |
|
Obsolete. Gets the default JsonSerializerSettings with the DefaultJsonConverters. | |
|
Gets the default JsonSerializerSettings with the DefaultJsonConverters. | |
|
DefaultValueHandling |
(Inherited from JsonSerializer.) |
|
EqualityComparer |
(Inherited from JsonSerializer.) |
|
FloatFormatHandling |
(Inherited from JsonSerializer.) |
|
FloatParseHandling |
(Inherited from JsonSerializer.) |
|
Formatting |
(Inherited from JsonSerializer.) |
|
MaxDepth |
(Inherited from JsonSerializer.) |
|
MetadataPropertyHandling |
(Inherited from JsonSerializer.) |
|
MissingMemberHandling |
(Inherited from JsonSerializer.) |
|
NullValueHandling |
(Inherited from JsonSerializer.) |
|
ObjectCreationHandling |
(Inherited from JsonSerializer.) |
|
PreserveReferencesHandling |
(Inherited from JsonSerializer.) |
|
ReferenceLoopHandling |
(Inherited from JsonSerializer.) |
|
ReferenceResolver |
(Inherited from JsonSerializer.) |
|
SerializationBinder |
(Inherited from JsonSerializer.) |
|
StringEscapeHandling |
(Inherited from JsonSerializer.) |
|
TraceWriter |
(Inherited from JsonSerializer.) |
|
TypeNameAssemblyFormat |
Obsolete. (Inherited from JsonSerializer.) |
|
TypeNameAssemblyFormatHandling |
(Inherited from JsonSerializer.) |
|
TypeNameHandling |
(Inherited from JsonSerializer.) |
Methods
|
Name |
Description |
---|---|---|
|
Creates a new TcHmiJsonSerializer instance. The TcHmiJsonSerializer will not use default settings from DefaultSettings. | |
|
Creates a new TcHmiJsonSerializer instance using the specified JsonSerializerSettings. The TcHmiJsonSerializer will not use default settings from DefaultSettings. | |
|
Creates a new TcHmiJsonSerializer instance. The TcHmiJsonSerializer will use default settings from DefaultSettings. | |
|
Creates a new TcHmiJsonSerializer instance using the specified JsonSerializerSettings. The TcHmiJsonSerializer will use default settings from DefaultSettings as well as the specified JsonSerializerSettings. | |
|
Deserialize(TextReader, Type) |
(Inherited from JsonSerializer.) |
|
Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified Type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified Type. | |
|
Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified Type. | |
|
Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified Type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified Type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified Type. | |
|
Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified type using the specified JsonConverter{T}. | |
|
Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified type. | |
|
Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified type. | |
|
Deserializes the specified JSON String to an equivalent instance of the specified type using the specified JsonConverter{T}. | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Populate(TextReader, Object) |
(Inherited from JsonSerializer.) |
|
Populate(JsonReader, Object) |
(Inherited from JsonSerializer.) |
|
Serializes the specified Object to an equivalent JSON String. | |
|
Serialize(TextWriter, Object) |
(Inherited from JsonSerializer.) |
|
Serialize(JsonWriter, Object) |
(Inherited from JsonSerializer.) |
|
Serializes the specified Object to an equivalent JSON String using the specified JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String. | |
|
Serialize(JsonWriter, Object, Type) |
(Inherited from JsonSerializer.) |
|
Serialize(TextWriter, Object, Type) |
(Inherited from JsonSerializer.) |
|
Serializes the specified Object to an equivalent JSON String using the specified JsonWriter, Type and JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String using the specified JsonWriter, Type and JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String using the specified capacity and JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String. | |
|
Serializes the specified Object to an equivalent JSON String using the specified Type and JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String using the specified JsonWriter, Type and JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String using the specified JsonWriter, Type and JsonSerializerSettings. | |
|
Serializes the specified Object to an equivalent JSON String using the specified capacity, Type and JsonSerializerSettings. | |
|
Serializes the specified value to an equivalent JSON String using the specified JsonConverter{T}. | |
|
Serializes the specified value to an equivalent JSON String using the specified JsonConverter{T}. | |
|
Serializes the specified value to an equivalent JSON String using the specified JsonConverter{T}. | |
|
Serializes the specified value to an equivalent JSON String using the specified JsonConverter{T}. | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Events
|
Name |
Description |
---|---|---|
|
Error |
(Inherited from JsonSerializer.) |
Fields
|
Name |
Description |
---|---|---|
|
Contains the default capacity of StringBuilders that are used to create a JSON String. |