Click or drag to resize

DataContractJsonStringSerializer Class

Serializes data into JSON.
Inheritance Hierarchy

Namespace:  Eneter.Messaging.DataProcessing.Serializing
Assembly:  Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: (
public class DataContractJsonStringSerializer : ISerializer

The DataContractJsonStringSerializer type exposes the following members.

Public methodDataContractJsonStringSerializer
Creates the serializer based on DataContractSerializer with default settings.
Public methodDataContractJsonStringSerializer(XmlDictionaryReaderQuotas)
Creates serializer based on DataContractJsonSerializer.
Public methodDataContractJsonStringSerializer(XmlDictionaryReaderQuotas, FuncType, XmlObjectSerializer)
Creates the serializer that allows user to specify his own method to instantiate DataContractJsonSerializer with desired settings.
Public methodDeserialize_T
Deserializes JSON string into the specified type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerialize_T
Serializes data to the JSON string.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
The serializer is based on DataContractJsonSerializer provided by .Net and it supports attributes (DataContract, DataMember, ...) specifying how data is serialized/deserialized.
See Also