I have a string inside a dictionary that I am trying to pass to jsonstring but it is not removing the backbars and the server does not swallow it.
Any ideas? The code is as follows:
let myBod = "\"Body\": {" +
"\"type\": \"multipart\"," +
"\"content\": [" +
"{" +
"\"contentType\": \"multipart/alternative; Boundary=\\"0__=4EBB0A76DFCD51048f9e8a93df938690918c4EBB0A76DFCD5104\\"\"," +
"\"contentDisposition\": \"inline\"" +
" }," +
"{" +
"\"contentType\": \"text/plain; charset=US-ASCII\"," +
"\"data\": \"yappy\"," +
"\"boundary\": \"--0__=4EBB0A76DFCD51048f9e8a93df938690918c4EBB0A76DFCD5104\"" +
" }," +
" {" +
"\"contentType\": \"text/html; charset=US-ASCII\"," +
"\"contentDisposition\": \"inline\"," +
"\"data\": \"<html><body>yappy</body></html>\"," +
"\"boundary\": \"--0__=4EBB0A76DFCD51048f9e8a93df938690918c4EBB0A76DFCD5104\"}]}"