Class JsonDataTypeTextSerializer
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Class responsible for serialization and deserialization of DataType values to JSON.
public sealed class JsonDataTypeTextSerializer : IDataTypeTextSerializer
- Inheritance
-
objectJsonDataTypeTextSerializer
- Implements
- Extension Methods
Constructors
JsonDataTypeTextSerializer(string)
Creates an instance of JsonDataTypeTextSerializer.
public JsonDataTypeTextSerializer(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