Interface ITypeSerializer
Defines the interface for serializing and deserializing types to and from strings.
public interface ITypeSerializer
Methods
Deserialize(string)
Deserializes a string to an object.
object Deserialize(string str)
Parameters
strstringThe string to deserialize.
Returns
- object
The deserialized object.
Serialize(object)
Serializes an object to a string.
string Serialize(object obj)
Parameters
objobjectThe object to serialize.
Returns
- string
The serialized string representation.