/
Escape JSON chars in URL or body
Escape JSON chars in URL or body
JSON escapes special chart into this format; \u00E5 \u00E4 \u00F6
To escape them you can use a Groovu variable to UTF-8 encode
- Click on Variables
- Click on the tab Groovy variable
Paste in the script below
- Change the custom field variable to the id of your system
- Name it to access it as a variable in the body or URL.
- Enable it for the action(s) that shall use the script
Example usage
IQL with custom field that contains the name which could have special chars in it.
, multiple selections available,
Related content
Groovy Variables
Groovy Variables
More like this
JSON Path - Pick data from response
JSON Path - Pick data from response
Read with this
Comment a ticket with line breaks
Comment a ticket with line breaks
More like this
JSON Path variables
JSON Path variables
Read with this
Double Quotes, single quotes and HTML encoding
Double Quotes, single quotes and HTML encoding
More like this
HTTP Condition
HTTP Condition
Read with this