>>> import json
>>> data = json.loads('{ : 1, : [10, ] }')
>>> sample = { : [1,2], :  }
>>> json_string = json.dumps(sample)
>>> json_string
'{: [1, 2], : }'
>>> sample
{'blue': [1, 2], 'ocean': 'water'}
>>> data
{'foo': 1, 'bar': [10, 'apples']}