diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index c433690fe18..5d3871ed503 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -19999,7 +19999,10 @@ SELECT NULLIF(value, '(none)') ...
Collects all the key/value pairs into a JSON object. Key arguments
are coerced to text; value arguments are converted as
per to_json or to_jsonb.
- Values can be null, but not keys.
+ Values can be null, but keys cannot.
+ If a key appears more than once, the json result keeps
+ every pair, while the jsonb result keeps only the last
+ value for that key.
No