How to convert string to valid json or yaml
How to convert string to valid json or yaml Question: I have a large script that parses js with a dataframe entry, but to shorten the question, I put what I need in a separate variable. My variable contains the following value value = "{from:[3,4],to:[7,4],color:2},{from:[3,6],to:[10,6],color:3}" I apply the following script and get data like this …