JsonUtilitySerializeAllT Method

Serializes the specified instance.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static string SerializeAll<T>(
	T instance,
	bool includeTypeInformation = false
)

Parameters

instance  T
The instance.
includeTypeInformation  Boolean  (Optional)
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

String
JSON representation of the instance.

See Also