summaryrefslogtreecommitdiffhomepage
path: root/json.html.markdown
diff options
context:
space:
mode:
authorMarcel Ribeiro-Dantas <ribeirodantasdm@gmail.com>2023-07-12 11:05:31 -0300
committerGitHub <noreply@github.com>2023-07-12 11:05:31 -0300
commita597f002424d2d95c06b62b0c49d6bf152ea7f5b (patch)
tree6d6dc617fbcee9e0260bc2973148762762177917 /json.html.markdown
parentecccf1826bff4e803a75c7a903e9ed3444864de3 (diff)
parent07569cfe7c819a4552030c12709cb9da209f44a1 (diff)
Merge pull request #4701 from sjrct/patch-1
[json/en] Top level value can be of any type
Diffstat (limited to 'json.html.markdown')
-rw-r--r--json.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.html.markdown b/json.html.markdown
index 1ccdb5cf..27f6bbe0 100644
--- a/json.html.markdown
+++ b/json.html.markdown
@@ -11,7 +11,7 @@ contributors:
JSON is an extremely simple data-interchange format. As [json.org](https://json.org) says, it is easy for humans to read and write and for machines to parse and generate.
-A piece of JSON must represent either:
+A piece of JSON can be any value of the types listed later, but in practice almost always represents either:
* A collection of name/value pairs (`{ }`). In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
* An ordered list of values (`[ ]`). In various languages, this is realized as an array, vector, list, or sequence.