Functions: Escape JSON function
complete
Cor Schutte
Would be useful to have an "Escape JSON" function same you for Escape HTML.
Thanks
Log In
Tereza Klobouckova
updated the status to
complete
Great news - escapeJSON() has officially landed in Make!
You can now easily format string values for manual JSON payloads without worrying about quotes, newlines, or backslashes breaking your syntax. You’ll find it ready to use under the Text and Binary functions tab in the formula builder.
Thank you to everyone who voted for this feature!
Tereza Klobouckova
Merged in a post:
Tools > IML Functions: escape JSON string
Slavomír Krafčík
Add text function - escape special characters in building a JSON string:
---------------------------
Double quote is replaced with \", Backslash is replaced with \\, etc.
Ilia Sablukov
updated the status to
reviewed
MW Lab
Hello there!
+1 for this function
(To Make team : What are you waiting for? n8n don't wait...)
Kevin Hoang
Is there any update on this? It's been more than 3 years since this was first request. This is essential for sending JSON to AI models.
Roman Leeb
Please add this 🙏
Daily Readings Minecraft
There is a url encode and decode function but not a function for json :(
Daily Readings Minecraft
Has someone found a solution like
{{replace(replace(replace(replace(replace(replace(replace(49.3; "/\n/g"; space); "/\r/g"; space); "/\t/g"; space); "/\f/g"; space); "/\//g"; "/"); "/\\/g"; "\\"); "/""/g"; "\""")}}
But does not replace new line characters with a space?
Adam Malik
While you can active a lot with the Parse JSON module, it can get clunky and operations heavy.
If the ambition is for Make.com to allow us to use GPTs and agents robustly I making this available is a must IMO. As make is on javascript its not a big deal all we need is JSON.stringify as a text function.
It would build on the excellent work on enabling Agents and the MCP and I think unblock a lot of stuff.
Ok let me buy custom functions as an addon for the Teams plan (or any plan) - bills need to be paid after all i get it.
Thomas Van Gerven
+1
would help me a lot!
Thanks!
Load More
→