On Fri, Apr 10, 2009 at 10:06 PM, "Martin v. Löwis" email@example.com:
However, I really think that this question cannot be answered by reading the RFC. It should be answered by verifying how people use the json library in 2.x.
Yes, the data eventually has to go over a socket as bytes, but that's often handled by a different layer of code.
For C#, I wrap the socket in a StreamReader object, which decodes the byte stream into a string stream (similar to Python's new TextIOWrapper class).
Hope that helps,
-- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC http://stutzbachenterprises.com