0

So I have ended up with a string after parsing some javascript function on an HTML page. The string is as follows:

a = '[{"arjun":1,"samir":2},{"ryan":3, "jarret": 9}]'

As is evident, the string is a list of dicts in essence.How do I convert it to a python list?

Amistad
  • 7,100
  • 13
  • 48
  • 75

0 Answers0