I have a string which looks like.
"[{'P_Key': 'val1', 'Price': '3.95'}, {'P_Key': 'val2', 'Price': '2.2'}, {'P_Key': 'val3', 'Price': '0.4'}]"
I want to convert this into a list of dictionaries like:
[{'P_Key': 'val1', 'Price': '3.95'},
{'P_Key': 'val2', 'Price': '2.2'},
{'P_Key': 'val3', 'Price': '0.4'}]
There may be any number of such dictionaries in the string.