Example of json_array_elements - Mailing list pgsql-docs

From PG Doc comments form
Subject Example of json_array_elements
Date
Msg-id 163671951222.8075.11449511571877078494@wrigleys.postgresql.org
Whole thread Raw
Responses Re: Example of json_array_elements  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-docs
The following documentation comment has been logged on the website:

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

Maybe this example for json_array_elements is wrong?

select * from json_array_elements('[1,true, [2,false]]')

It seems to me that it should be

select * from json_array_elements('[[1,true], [2,false]]')

Thank you for this extraordinary documentation!

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: \dp privileges "decoder" dropped in v12 of docs
Next
From: Daniel Gustafsson
Date:
Subject: Re: Update documentation page for translators