On Thu, Jun 11, 2020 at 12:45 AM Dan Sommers <2qdxy4rzwzuui...@potatochowder.com> wrote: > If you control both the producers and the consumers, and they're > both written in Python, then you may as well use pickle and base64 > (and an HMAC!) to convert your python data to an opaque ASCII > string and just transmit that string. Why bother with JSON and > all of its verbosity and restrictions in the first place? > > If interoperability is a concern, then how much does this sort of > thing complicate your JSON and all of the other > producers/consumers? Will their applications, standard libraries, > and best practices "just work"?
What if it's to be produced and consumed by your app (so, no interoperability), but you want it to be human-readable and human-editable? JSON is pretty good for that. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/3UGLWJADP4FRGK7NQ76ZT5JY4GOXWKCE/ Code of Conduct: http://python.org/psf/codeofconduct/