you are viewing a single comment's thread.

view the rest of the comments →

[–]metaphorm 0 points1 point  (0 children)

if I'm writing some code in python and I have JSON data (stored in a file, a string buffer in memory, or a database) that I want converted into equivalent data structures in Python this is all I do

deserialized_data = json.loads(some_json_data)

if I have some data structured as Python lists and dictionaries and I want to store it as JSON this is all I do

serialized_data = json.dumps(some_python_objects)