2
我試圖將JSON轉換爲GSON,但我無法建模。任何人都可以給我一個這個例子。Json to Gson - 建模
[
{
"id": "1",
"name": "lalala",
"object1": [
"string1",
"string1",
"string1"
],
"object2": [
"anotherString1",
"anotherString2"
]
},
{
"id": "2",
"name": "laaaaalala",
"object1": [
"string1",
"string1",
"string1"
],
"object2": [
"anotherString1",
"anotherString2"
]
}
]
感謝