fork download
  1. import json
  2.  
  3. array = '["apple", "banana", "orange"]'
  4. data = json.loads(array)
  5. print data
  6.  
  7. print(json.dumps(data))
Success #stdin #stdout 0.02s 7324KB
stdin
Standard input is empty
stdout
[u'apple', u'banana', u'orange']
["apple", "banana", "orange"]