errors with json.loads
Ned Batchelder
ned at nedbatchelder.com
Wed Sep 20 20:54:43 EDT 2017
On 9/20/17 8:22 PM, Bill wrote:
> Apparenty an \xa0 byte corresponds to a "non-breaking space". What
> sort of white space characters are allowed in a json file ( tabs and
> newlines?)? Just curious.
These things can be looked up. From RFC 7159
(https://tools.ietf.org/html/rfc7159):
Insignificant whitespace is allowed before or after any of the six
structural characters.
ws = *(
%x20 / ; Space
%x09 / ; Horizontal tab
%x0A / ; Line feed or New line
%x0D ) ; Carriage return
--Ned.
More information about the Python-list
mailing list