In postgresql, I've a table with a column named source of type json.
The source contains Json as below. I need to select the source column but the output should produce the result as below
Input
{ "filters": { "operator": "EQ", "value": "name", "type": "string" } } Output
{ "filters": { "operator": "EQ", "value": "name", "type": "string", "args": ["cat"] } } I was able to achieve this programatically using javascript, but please help me if it can be done via postgresql select statement itself.
argsproperty?