Escape double quotes and other characters in JSON body | Community
Skip to main content
Level 3
March 21, 2024
Solved

Escape double quotes and other characters in JSON body

I'm using a Custom API Call to add issues to Workfront. I'm looking for a simple way to escape unwanted characters. e.g. Double Quotes, tab characters, new line, etc etc. 

There is the replace function, but nested replaces are getting quite tricky and it doesn't seem to work well in the UI etc.

Any advice would help?

Rob

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
cvergesAccepted solution
Level 5
March 21, 2024

You need to use the "Transform to JSON" or "Create JSON" modules to properly escape to JSON strings.

3 replies

cvergesAccepted solution
Level 5
March 21, 2024

You need to use the "Transform to JSON" or "Create JSON" modules to properly escape to JSON strings.

Translate
RobertDyAuthor
Level 3
March 22, 2024

Thanks. I'll give that a try and let you know 🙂

Translate