Class DefaultDataTypeTextSerializer
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Class responsible for serialization and deserialization of DataType values to text. Serializer is used as a fallback when no serializer is set for given data type.
public class DefaultDataTypeTextSerializer : IDataTypeTextSerializer
- Inheritance
-
objectDefaultDataTypeTextSerializer
- Implements
- Extension Methods
Constructors
DefaultDataTypeTextSerializer(string)
Creates an instance of DefaultDataTypeTextSerializer.
public DefaultDataTypeTextSerializer(string fieldType)
Parameters
fieldType
stringData type of the values the serializer will be used for.
- See Also
Methods
Deserialize(string)
Deserialize text
into desired object.
public object Deserialize(string text)
Parameters
text
stringText to be deserialized.
Returns
- object
Serialize(object)
Serializes value
into text.
public string Serialize(object value)
Parameters
value
objectValue to be serialized.
Returns
- string