GtmDataHelperSerializeToJsonInternal Method (IEnumerableGtmData, String) |
Serializes collection of
GtmData to array of JSONs.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax 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:
StringArray of JSONs.
See Also