-1
"fid": "123",
"farm_info": {
"name": "Example Farm",
"address": "Example Address",
"phone": "111-111-1111",
"web": ""
},
"personal_info": {
"name": "MyName",
"email": "[email protected]",
"phone": "111-111-0000"
},
"delivers_to": ["60001", "60002"]
这是一个以JSON形式返回的对象。在JAVA FID将是一个字符串和deliver_to将是一个字符串数组。 farm_info和personal_info有什么数据类型可以让这个JSON返回?对象内的JSON对象
'Class'已经是Java对象了,最好不要冲突那些 –
明白了,有道理 – developer
所以,它是'公共类',而不是'类' –