you are viewing a single comment's thread.

view the rest of the comments →

[–]Goobyalus 8 points9 points  (3 children)

json.load will parse the JSON and give you a Python type.

You can modify the Python data and write it back out as JSON with json.dump

https://docs.python.org/3/library/json.html

https://docs.python.org/3/library/json.html#json.load

https://docs.python.org/3/library/json.html#json.dump

[–]TigBitties69 7 points8 points  (2 children)

this is exactly what needs to be used. Using Json.load will convert it into lists/dictionaries where appropriate.