What is the best method for converting this array of objects into a JavaScript string:
"contacts": [{"contactName": "ABC XYZ", "contactDesgn": "Associate Director", "contactPhone": "9892265172", "contactEmail": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9bdad9d8b5c3c2c1dbeffee8efb5f8f4f6">[email protected]</a>", "level": "L4"}]
The desired output string should resemble this:
<#>ABC XYZ<#>Associate Director<#>9892265172<#><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="befffcfd90e6e7e4fecadbcdca90ddd1d3">[email protected]</a><#>L4<$>