I have the following data in a Postgres table that I need to flatten out:
data
===============================================================================================
{"Exterior Lights" :["Headlights - Forward Adaptive","Headlights - Laser","Headlights - LED"]}
{"Generic" : ["Launch Control"]}
{"Mirror" :["Blind Spot Assistant","Door Mirrors - Integrated LED"]}
{"Safety" :["Tyre Pressure Monitoring", "ABS"]}
Ideally the above data it would look like this afterwards:
System Type
======= ====
Exterior Lights Headlights - Forward Adaptive
Exterior Lights Headlights - Laser
Exterior Lights headlights - LED
Generic Launch Control
Mirror Blind Spot Assistant
Mirror Door Mirror - Integrated LED
Safety Tyre Pressure Monitor
Safety ABS
I've tried various combinations of JSON operators but to no avail. Can anyone help?