Subj : Is binkp/d's security model kaputt? To : apam From : Oli Date : Wed Sep 22 2021 11:41 am apam wrote (2021-09-22): a> do you think JSON is the way to go for stored / transmitted a> messages? IMHO: 1.) JSON sucks. (No idea why I pitched the idea to use JSON instead of XML to the CouchDB guys) 2.) It's especially stupid as a format for encoding mails. It sucks for 8-bit text that is not UTF-8. You have to escape everything and/or do charset translation. 3.) You cannot transport binary data without encoding it to base64 or something similar first. Of course you can encode the header fields in JSON and get the message body as a binary blob via another HTTP request. Maybe just use a variation of JMAP (https://jmap.io/spec-mail.html)? I still don't see the appeal in using text based protocols and interchange formats. 4.) JSON sucks for config files too. --- * Origin: 1995| Invention of the Cookie. The End. (21:3/102) .