How can I parse JSON in Google App Engine?

前端 未结 6 1640
攒了一身酷
攒了一身酷 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:21

    If you're using Python2.6 or greater, I've used with success the built-in json.load function. Otherwise, simplejson works on 2.4 without dependencies.

提交回复
热议问题