How to get email or mobile from GET method in retrofit android
i'm trying more then time but my app crash so how to get these value.
JSON response.
{
"statuscode": 200,
"status": "true",
"applied_jobs": [
{
"id": 1,
"user_id": 44,
"job_post_id": 12,
"resume": "241115637974717139.doc",
"created_at": "2019-07-22 12:11:11",
"updated_at": "2019-07-22 12:11:11",
"posted_job": {
"id": 12,
"user_id": 44,
"email": "appt@gmail.com",
"mobile": "9712112332",
"company_name": "Appt Tech",
"title": "Java Developer",
"description": "Java, Android, XML",
"no_of_position": 5,
"job_requirment": "Experience",
"country_id": 1,
"state_id": 2,
"city_id": 2,
"location": "Noida",
"photo": "242415637879146897.png",
"status": 1,
"created_at": "2019-07-22 09:31:54",
"updated_at": "2019-07-22 09:31:54"
}
}
]
}
Retrofit Interface
@GET("retrieve/get_applied_job?user_id=44")
Call<ListAllAppliedJobs> getAllAppliedJobs();
I just want get email or mobile values