How can I parse JSON in Google App Engine?

前端 未结 6 1632
攒了一身酷
攒了一身酷 2020-11-28 20:59

I\'d like to parse a JSON string into an object under Google App Engine (python). What do you recommend? Something to encode/stringify would be nice too. Is what you reco

6条回答
  •  温柔的废话
    2020-11-28 21:42

    Google App Engine now supports python 2.7. If using python 2.7, you can do the following:

    import json
    structured_dictionary = json.loads(string_received)
    

提交回复
热议问题