metadata
-----------
{'a': 'jay', 'b': '100', 'c': ""ANAND'S STORE"", 'd': '200'}
Having difficulty parsing this in sql
Need to get like this:
a b c d
----------------------------------------
jay | 100 | ANAND'S STORE | 200
I have tried json_extract_path_text(metadata, 'c') as store_name but throwing error Error parsing JSON: more than one document in the input
I am open to solution in mysql or postgresql also.