Interface ISerializer
Represents an interface for serializing and deserializing objects.
Namespace: Innovt.Core.Serialization
Assembly: Innovt.Core.dll
Syntax
public interface ISerializer
Methods
| Edit this page View SourceDeserializeObject<T>(string)
Deserializes a serialized object of type T
.
Declaration
T DeserializeObject<T>(string serializedObject)
Parameters
Type | Name | Description |
---|---|---|
string | serializedObject | The serialized object as a string. |
Returns
Type | Description |
---|---|
T | The deserialized object of type |
Type Parameters
Name | Description |
---|---|
T | The type of object to deserialize. |
SerializeObject<T>(T)
Serializes an object of type T
to a string.
Declaration
string SerializeObject<T>(T obj)
Parameters
Type | Name | Description |
---|---|---|
T | obj | The object to serialize. |
Returns
Type | Description |
---|---|
string | The serialized object as a string. |
Type Parameters
Name | Description |
---|---|
T | The type of object to serialize. |