How to iterate over a JSONObject?

后端 未结 16 1875
孤街浪徒
孤街浪徒 2020-11-22 04:17

I use a JSON library called JSONObject (I don\'t mind switching if I need to).

I know how to iterate over JSONArrays, but when I parse JSO

16条回答
  •  心在旅途
    2020-11-22 04:53

    for my case i found iterating the names() works well

    for(int i = 0; i
                                                            
提交回复
热议问题