Skip to content

Commit

Permalink
Simplify description of serializing non-string keys in maps
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Harshbarger <[email protected]>
  • Loading branch information
benharsh committed Sep 21, 2023
1 parent 40524cd commit c1844e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/standard/JSON.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,11 @@ module JSON {
.. note::
JSON itself only supports strings as names in objects. This library
provides support for non-string key types by serializing a non-string
key as an escaped JSON string containing the serialized key. For a
simple integer key, this results in output like ``"123"``. For a
record key with two integer fields, the output could look like:
JSON itself only supports strings as names in objects. This module
supports non-string key types by serializing them as an escaped JSON
string containing the serialized key. For a simple integer key, this
results in output like ``"123"``. For a record key with two integer
fields, the output could look like:
.. code-block:: text
Expand Down

0 comments on commit c1844e3

Please sign in to comment.