create table json_example as
select '[{"a":1,"b":"foo"},{"a":"2","c":"bar"}]'::jsonb as value
select * from json_example
the following is working fine:
select * from json_array_elements('[{"a":1,"b":"foo"},{"a":"2","c":"bar"}]')
And i want to do the same, only difference that json is coming from a table. how to do the same using json_example table value field?