codepath / codepath/android_guides
What if JSON starts with an array
- Dominant language
- No language data
- Stars
- 28.3k
- Forks
- 6.2k
- PR merge metrics
- No merged PRs in 30d
Description
[
{
"id": "1",
"userName": "Admin",
"fullName": "Admin",
"emailID": "kumarniranjan.unique@gmail.com",
"empNo": "p001",
"mobileNo": null,
"grade": "W0",
"gradeId": 1,
"allGrades": null,
"empType": 1,
"empTypeName": "Regular",
"allEmpTypes": null,
"deptId": 0,
"department": "Human Resource",
"allDepartments": null,
"allProjects": null,
"projectsAssigned": null,
"post": null,
"extension": null,
"seatNo": null,
"dob": null,
"doj": null,
"gender": 0,
"bloodGroup": 0,
"reportingTo": null,
"postedAt": null,
"photo": null,
"imageData": null,
"status": 0
},
{
"id": "2",
"userName": "User",
"fullName": "User",
"emailID": "User@gmail.com",
"empNo": "p002",
"mobileNo": "8804354448",
"grade": "W0",
"gradeId": 1,
"allGrades": null,
"empType": 1,
"empTypeName": "Regular",
"allEmpTypes": null,
"deptId": 0,
"department": "Technical",
"allDepartments": null,
"allProjects": null,
"projectsAssigned": null,
"post": null,
"extension": "980",
"seatNo": null,
"dob": null,
"doj": null,
"gender": 0,
"bloodGroup": 0,
"reportingTo": null,
"postedAt": null,
"photo": null,
"imageData": null,
"status": 0
}]
Thank you for the code.
This is my json. I want to search by username or fullname. Can anyone please help me what to write in onsuccess portion in mainactivity (according to the given code) with such type of json.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.