Below is my string in python3
Please assume below string is in a loop
On First loop I get below string string as input
string=\'{a:1,b:1}{a:2,b: