postgres=# SELECT t.data->'objects'->1->'src' AS ctFROM reports as t , json_array_elements(t.data->'objects') oWHERE concat(o->>'src') LIKE '%bar%';