Is there a general module to escape characters of a JSON for HTTP Request?

You could use the Set a Variable module and for the variable value, you can have a series of nested replace() functions that apply each of your replace tasks recursively. You can see an example here: Multiple replace functions in one value - #2 by JugaadiTech

That would be less messy compared to just having 8 text replace modules.

2 Likes