fork(203) download
  1. import json
  2.  
  3. array = '{"fruits": ["apple", "banana", "orange"]}'
  4. data = json.loads(array)
  5. fruits_list = data['fruits']
  6. print fruits_list
Success #stdin #stdout 0.02s 4920KB
stdin
Standard input is empty
stdout
[u'apple', u'banana', u'orange']