Buobe
    How to convert a table row to JSON in PostgreSQL®? | Buobe