bytes vs. characters
bytes vs. characters
Posted Apr 20, 2015 7:59 UTC (Mon) by zyga (subscriber, #81533)In reply to: bytes vs. characters by mathstuf
Parent article: Report from the Python Language Summit
You don't. There's no specification for putting random bytes in json.
At this time you just generate a stream of bytes (not python bytes, just bytes) that has some meaning that is only sensible to you and whoever consumes your byte stream. It's not json.
