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.
Log in to post a comment.