I want to parse and get them store in a arraylist to show in a spinner with single text as a company location in android.I am a fresher in android and don't know how I have this json file coming from a url:
{
GetCompanyLocationResult:
{
LoginMessage:
{
ErrorMsg: null,
Success: true
},
UserLocation: [
{
Comp_Location: "ABCD-ABCD"
},
{
Comp_Location: "CBS-DELHI"
},
{
Comp_Location: "CBS-JAIPUR"
},
{
Comp_Location: "CBS-MEERUT"
},
{
Comp_Location: "CBS-NOIDA"
},
{
Comp_Location: "CBS-RAJASTHAN"
},
{
Comp_Location: "MISAP-DELHI"
},
{
Comp_Location: "MISAP-NOIDA"
},
{
Comp_Location: "SYNERGY-DELHI"
}
]
}
}