Below you will find pages that utilize the taxonomy term “Convert”
How to JSON in PostgreSQL®
read more
How to convert an array to a JSON array in PostgreSQL
PostgreSQL® offers two types of data types to handle JSON data, JSON
and JSONB
, you can use the function array_to_json
(array_to_jsonb
for JSONB
) to create a JSON array from an existing array.
How to JSON in PostgreSQL®
read more
How to convert a table row to JSON in PostgreSQL®?
PostgreSQL® offers two types of data types to handle JSON data, JSON
and JSONB
, you can use the function to_json
(to_jsonb
for JSONB
) to convert a table row to a JSON object.