Menu

#13 write should raise an exception on invalid dict keys.

open
nobody
None
5
2005-09-25
2005-09-25
Anonymous
No

json.read("{1:'value'}'") #will raise an exception on
an invalid integer key.

json.write({1:'value'}) #Will not raise an exception on
the integer key.

Martijn.

Discussion


Log in to post a comment.