JSON_POPELLE_RECORDSET

select * from json_populate_recordset(null::myrowtype, '[{"a":1,"b":2},{"a":3,"b":4}]')
KonnektU TecOps