1
我在解析這個JsonObject時遇到了一些麻煩,因爲我不知道將會出現的鍵和我正在使用的Gson。這裏是JSON的一個例子:如何在不知道Gson鍵的情況下解析JsonObject列表?
"calendar": {
"201rj5-9": {
"year": "2015",
"month": "9",
},
"20tfh15-9": {
"year": "2015",
"month": "9",
},
[...]
}