File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,10 @@ See :ref:`json-commandline` for detailed documentation.
147147 default. Order is only lost if the underlying containers are unordered.
148148
149149.. note ::
150- Per :rfc: `7159 `, JSON objects' keys must be strings.
151- This module's encoder converts Python dictionary's keys to strings,
152- and its decoder produces Python dictionaries with string keys.
150+ :rfc: `7159 ` requires that keys in key/value pairs of JSON are always of the
151+ type :class: `str `. When a dictionary is converted into JSON, all the keys
152+ of the dictionary arecoerced to strings.When a JSON object is converted into
153+ dictionaries,all the keys of the dictionary are strings.
153154
154155Basic Usage
155156-----------
You can’t perform that action at this time.
0 commit comments