Add double quotes Around a word within a string | Community
Skip to main content
August 21, 2025
Solved

Add double quotes Around a word within a string

  • August 21, 2025
  • 1 reply
  • 2178 views

Hi, 

 

"ctaText": "Go To "Deals"",
 
 
I want to double quote the word Deals in JSON and was wondering what the right syntax is.
 
"ctaText": "Go To \"Deals\""
 

Will this work??
 
Thanks

Best answer by Mohan_Dugganab

You can validate it on the following lines 

{% let var = "\"ctaText\": \"Go To \"Deals\"\"" %} {{var}}

 

https://experienceleague.adobe.com/en/apps/journey-optimizer/ajo-personalization?lang=en# 

 

1 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
August 21, 2025

You can validate it on the following lines 

{% let var = "\"ctaText\": \"Go To \"Deals\"\"" %} {{var}}

 

https://experienceleague.adobe.com/en/apps/journey-optimizer/ajo-personalization?lang=en#