GtmDataHelperSerializeToJson Method (IEnumerableGtmData, String) |
Serializes collection of
GtmData to array of JSONs.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public static string SerializeToJson(
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