Table of Contents

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
object
JsonDataTypeTextSerializer
Implements
Extension Methods

Constructors

JsonDataTypeTextSerializer(string)

Creates an instance of JsonDataTypeTextSerializer.

public JsonDataTypeTextSerializer(string fieldType)

Parameters

fieldType string

Data 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 string

Text to be deserialized.

Returns

object

Serialize(object)

Serializes value into text.

public string Serialize(object value)

Parameters

value object

Value to be serialized.

Returns

string