我想传递来自API 上完成的POST请求的响应的 JSON 数据。我创建了实现 Parcelable 类的共享类。我想利用parcelable类在主要活动中保存少量对象(客户端信息)JSON响应并将它们发送到第二个活动以仅显示客户端信息。这是我各自的代码,这是api响应..{
"success": "true",
"message": "Logged in successfuly",
"user": {
"id": 13,
"userNo": "",
"name": "Adam",
"username": "Adam@gmail.com",
"actualPassword": "12345",
"email": "apollo@client.com",
"secondaryEmail": null,
"primaryPhone": 9876544345,
"secondaryPhone": null,
"clientId": {
"clientId": 1,
"name": "Charlie",
"address": "India",
"createdBy": null,
"createdAt": "2018-10-25T11:25:19.000Z",
"updatedAt": "2019-01-21T10:10:39.000Z",
"is_active": 1,
"clientCode": "APL",
"startTime": "08:00:00.000000",
"endTime": "07:59:59.000000",
},
"gender": null,
"dob": null,
"emergencyMobile": null,
"officeNo": null,
"loggedInStatus": 0,
}
}
慕村225694
相关分类