1
{
"success":[
{
"url":"http:\/\/stream.vagalume.fm\/stream"
}
],
"format":"mp3",
"remaining":0
}
how to get the url, format and remaining separately
1
{
"success":[
{
"url":"http:\/\/stream.vagalume.fm\/stream"
}
],
"format":"mp3",
"remaining":0
}
how to get the url, format and remaining separately
1
You can use that library
There’d be something close:
public String getTranslation(String json){
JSONObject data = new JSONObject(json);
return data.getJSONArray("sucesso").getJSONObject(0).getString("url");
}
Browser other questions tagged android json
You are not signed in. Login or sign up in order to post.