[Python-Dev] Dropping bytes "support" in json

Antoine Pitrou solipsis at pitrou.net
Fri Apr 10 13:41:07 CEST 2009


<glyph <at> divmod.com> writes:
> 
> In email's case this is true, but in JSON's case it's not.  JSON is a 
> format defined as a sequence of code points; MIME is defined as a 
> sequence of octets.

Another to look at it is that JSON is a subset of Javascript, and as such is
text rather than bytes.

Regards

Antoine.




More information about the Python-Dev mailing list