JsonSerializerSerializeT Method |
Serializes an object to the JSON string.
Namespace: CMS.DataComAssembly: CMS.DataCom (in CMS.DataCom.dll) Version: 10.0.0
Syntax 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:
StringJSON string with the serialized object.
See Also