JsonUtilitySerializeT Method

Scanjour Workflow4 Reference Manual
Serializes the specified instance.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static string Serialize<T>(
	T instance,
	bool includeTypeInformation = false
)

Parameters

instance
Type: T
The instance.
includeTypeInformation (Optional)
Type: SystemBoolean
if true then '$type' property is embeded into resulting json. The '$type' property contains full type information of serialized property.

Type Parameters

T
Type of instance to deserialize.

Return Value

Type: String
JSON representation of the instance.
See Also

Reference