Message215129
| Author |
berker.peksag |
| Recipients |
berker.peksag, cvrebert, docs@python |
| Date |
2014年03月29日.13:34:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1396100054.88.0.903178645801.issue21092@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> This implicit stringification of non-string dictionary keys does not
> currently appear to be documented.
I think this is part of the JSON spec. See http://json.org/object.gif for example.
Also, this is already documented in the json.dumps() documentation:
> Keys in key/value pairs of JSON are always of the type str. When a
> dictionary is converted into JSON, all the keys of the dictionary are
> coerced to strings.
http://docs.python.org/3.4/library/json.html#json.dumps |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年03月29日 13:34:14 | berker.peksag | set | recipients:
+ berker.peksag, cvrebert, docs@python |
| 2014年03月29日 13:34:14 | berker.peksag | set | messageid: <1396100054.88.0.903178645801.issue21092@psf.upfronthosting.co.za> |
| 2014年03月29日 13:34:14 | berker.peksag | link | issue21092 messages |
| 2014年03月29日 13:34:14 | berker.peksag | create |
|