Click or drag to resize
GtmDataHelperSerializeToJsonInternal Method (IEnumerableGtmData, String)
Serializes collection of GtmData to array of JSONs.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
protected virtual string SerializeToJsonInternal(
	IEnumerable<GtmData> gtmDataCollection,
	string purpose = null
)

Parameters

gtmDataCollection
Type: System.Collections.GenericIEnumerableGtmData
Data to be serialized to array of JSONs.
purpose (Optional)
Type: SystemString
Contextual information fitting for customizations.

Return Value

Type: String
Array of JSONs.
See Also