In FileMaker 16, I need to generate JSON for a web service (MailChimp) to upload, among other things, some html.
The JSONSetElement takes care of a lot of the escaping, but in this html, there is an additional requirement to escape slashes with a backslash.
So in other words:
However, one of the characters that JSONSetElement does escape is of course the backslash, which means that:
JSONSetElement ( $json ; "html" ;
; "/" ; Char ( 92 ) & "/" )
; JSONString )
(with double backslashes) and not
Does anyone have a suggestion as to what I'm missing or ideas for possible workarounds (not involving plugins or shell scripting).