What is the equivalent for coalesce in the new jOOQ 3.14 SQL/JSON supporting version (in PostgreSQL)?
coalesce
select coalesce(json_agg(t.*), \'[]\'::json