Click or drag to resize
JsonSerializerSerializeT Method
Serializes an object to the JSON string.

Namespace: CMS.DataCom
Assembly: CMS.DataCom (in CMS.DataCom.dll) Version: 9.0.0
Syntax
C#
public string Serialize<T>(
	T entity
)
where T : class

Parameters

entity
Type: T
The object that contains the data to serialize.

Type Parameters

T
The type of object to serialize.

Return Value

Type: String
JSON string with the serialized object.
See Also