I've tried:
%%[ set @JSON = HttpGET("insert URL here") ]%% // get JSON from ampscript var jsonObj = %%=TreatAsContent(HttpGet(@JSON)=%%; var evaluatedJSON = eval("(" + jsonObj + ")");
1 answer

Hi Robert, May suggest you please check with below links from the stack exchange community.
- http://salesforce.stackexchange.com/questions/54780/is-there-any-sort-of-html-to-string-functionality-in-ampscript
- http://help.marketingcloud.com/en/documentation/ampscript/ampscript_syntax_guide/content_ampscript_functions2/contentarea3/
Regards,
Nagendra.