JSON/JSONB documentation, aggregate functions - Mailing list pgsql-docs

From PG Doc comments form
Subject JSON/JSONB documentation, aggregate functions
Date
Msg-id 166335888474.659.16897487975376230364@wrigleys.postgresql.org
Whole thread Raw
Responses Re: JSON/JSONB documentation, aggregate functions  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/functions-json.html
Description:

Regarding the Json documentation (9.16.1: processing and creating JSON
data), I would like to suggest that the reference to
json_agg/jsonb_agg/json_object_agg/jsonb_object_agg (section 9.21) be made
more prominent. When looking through the list of json[b] processing
functions, it's really easy to miss the footnote mentioning the aggregate
functions. The list of functions in table 9.47 includes a lot of functions
that are *really*similar in purpose to the json aggregator functions, and
it's easy to assume that anything related to building JSON[B] objects *must*
be listed there. I just spent hours searching for a way to turn one column
of keys and one column of values into a JSONB object (without coercing all
numeric values to json strings), and I can't imagine I'm the only one.

Regards,
Alex Denman

pgsql-docs by date:

Previous
From: Chandler Gonzales
Date:
Subject: Clarifying docs on nuance of select and update policies
Next
From: PG Doc comments form
Date:
Subject: error on „ 38.5. Query Language (SQL) Functions“: a single row is returned