I have a string in the form of
[[sourceId:111, clientId:12345, clientName:testclient, module:test,source:Request, userName:Michelle Jackson],[sourceId:112, clientId:1233, clientName:testclient2, module:test, source:Request, userName:Michelle Jackson]]
How do I convert it into a valid python list of json ?
[[{'sourceId':111},{'clientId':12345},{'clientName':'testclient'},{'module':'test'},{'source':'Request'},{'userName':'Michelle Jackson'}], [{'sourceId':112},{'clientId':1233},{'clientName':'testclient2'}, {'module':'test',{'source':'Request'},{'userName':'Michelle Jackson'}]]Your current data format has a syntax error in the list.