![]() | DictionarySerializationContext Class |
Namespace: Slash.Serialization.Dictionary
The DictionarySerializationContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | DictionarySerializationContext |
Constructor.
|
Name | Description | |
---|---|---|
![]() | Settings |
Settings for serialization/deserialization.
|
![]() | Version |
Version number of serialization. Used to be compatible with older versions.
|
Name | Description | |
---|---|---|
![]() | CanSerialize |
Checks whether this context is able to serialize the specified type.
|
![]() | Deserialize(Type, Object) |
Deserializes the object from the passed data dictionary.
|
![]() | DeserializeT(Object) |
Deserializes the object from the passed data dictionary.
|
![]() | DeserializeContext |
Deserializes this context from the passed data dictionary.
|
![]() | GetSerializer |
Gets the custom serializer of this context for the specified type.
|
![]() | IsRawSerializationPossible |
Checks if a value of the specified type can be serialized directly or has to converted to a dictionary first.
If it can be serialized directly, no type information has to be stored to deserialize the value.
|
![]() | Serialize |
Serializes the passed object to a data dictionary.
|
![]() | SerializeContext |
Serializes this context to a data dictionary.
|
![]() | SetSerializer |
Sets the custom serializer of this context for the specified type.
|
![]() | TryDeserializeT(DictionaryString, Object, String) |
Tries to deserialize the value with the specified key in the specified data dictionary.
If the key is not found, the default value of the specified type is returned.
|
![]() | TryDeserializeT(DictionaryString, Object, String, T) |
Tries to deserialize the value with the specified key in the specified data dictionary.
If the key is not found, the specified default value is returned.
|