Interface ISerializer
Classes implementing this interface are used by the serializer to determine how the type should be serialized.
Namespace: InsaneScatterbrain.Serialization
Syntax
public interface ISerializer
Properties
Type
The type to serialize.
Declaration
Type Type { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
Serialize(object)
Serializes the object to string.
Declaration
string Serialize(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to serialize. |
Returns
Type | Description |
---|---|
string | The serialized string. |