Json Object - Getting the Key and the Value

后端 未结 3 1898
再見小時候
再見小時候 2021-01-07 15:44

I am a newbie to JSON . So If this is a very basic doubt don\'t scold me . I have a JSON Object Reference and I want to get the Key(Object has only one Key Value Pair) . How

3条回答
  •  臣服心动
    2021-01-07 16:22

    json.keys() will give all the keys in your JSONObject where json is an object of JSONObject

提交回复
热议问题