GtmDataHelperSerializeToJson Method (GtmData, String) |
Serializes gtmData to JSON.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax public static string SerializeToJson(
GtmData gtmData,
string purpose = null
)
Parameters
- gtmData
- Type: CMS.EcommerceGtmData
Data to be serialized to JSON. - purpose (Optional)
- Type: SystemString
Contextual information fitting for customizations.
Return Value
Type:
StringJSON representation of
gtmData.
See Also