這裏是我的代碼:如何發佈JSON對象在Android下使用Volly Library下面的Json類型?
{
"VisitorDetails":[
{
"Name":"Ramesh",
"Gender":"Male",
"Age":24,
"MobileNo":9502230173,
"LandLine":"040140088",
"EmailId":"[email protected]",
"CreatedOn":"08-25-2016",
"Address":"Hyderabad",
"Profession":"Software",
"FamilyMembers":5,
"HomeTown":"Gannavaram",
"MedicalHealing":"Noooooo",
"Isinterestedwithcompanies":1,
"IsBetterlivingStandards":1,
"IsInterestedinConference":1,
"VisitorExcites":[1,2,3]
"jsonkey" : "rUinterested"
}
]
}
請人知道答案告訴我>我freshere在android系統 –
創建JSOnArray把[]括號之間的所有數據,然後創建一個json對象,並將這個對象關鍵字中的arrray作爲VisitorDetails。 –