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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.