For readability. Backpatch to 16.
Author: Erik Wienhold
Discussion: https://postgr.es/m/8ddac732-d650-4958-b9c9-ea8e6116251e@ewie.name
which specifies the data type returned. It must be one of json,
jsonb, bytea, a character string type (text,
char, or varchar), or a type
- for which there is a cast from json to that type.
+ that can be cast to json.
By default, the json type is returned.