TomDuncan Active Member Licensed User Longtime User Jun 29, 2015 #1 Hi, I need a way to send a json file but it may have characters like " Code: Copy Dim m As Map m.Initialize m.Put("action", 0) m.Put("send_to", 0) ' All users m.Put("send_to_name","All") m.Put("subject", " hi "all" error will be here" m.Put("body", " lots here" As you can see if the subject had a value from a text field then the json parsing would be corrupt. Is my only way to send this with Base64 Encoding. If so how to I encode from a Base64 decoded string to a encoded string. Tom
Hi, I need a way to send a json file but it may have characters like " Code: Copy Dim m As Map m.Initialize m.Put("action", 0) m.Put("send_to", 0) ' All users m.Put("send_to_name","All") m.Put("subject", " hi "all" error will be here" m.Put("body", " lots here" As you can see if the subject had a value from a text field then the json parsing would be corrupt. Is my only way to send this with Base64 Encoding. If so how to I encode from a Base64 decoded string to a encoded string. Tom
TomDuncan Active Member Licensed User Longtime User Jun 29, 2015 #2 Well, have just done some more tests and I am sorry. It does allow for those characters Code: Copy <\/b><br><h3>Some Subject stuff<\/h1> <p>Some body stuff with \"this\"<br> Sorry for the query. It is too smart for me. lol Upvote 0
Well, have just done some more tests and I am sorry. It does allow for those characters Code: Copy <\/b><br><h3>Some Subject stuff<\/h1> <p>Some body stuff with \"this\"<br> Sorry for the query. It is too smart for me. lol