Menu

#20 Doesn't handle unicode input

v1.0_(example)
open
nobody
None
5
2017-05-30
2017-05-30
No

If the json "string" is unicode the parser fails.
Changing :

        if type(key) is not types.StringType:

to
if type(key) is not types.StringType and type(key) is not types.UnicodeType:

at line 213 sorts this out

Discussion


Log in to post a comment.