returnLogin([{
"id": 0,
"first_name": "abc",
"last_name": "xyz",
"msg": "Invalid User or Location ID or Password.",
"location_id": "",
}])
Wie bekomme ich Daten von oben Json String? hier json start mit witn string nicht jeder bracket das ist warum ich versuche. Abrufen von Datenandroid json beginnend mit string
Haben Sie es einmal versucht? Zeigen Sie Ihren Code –
versuchen Sie { JSONObject jsonObject = neues JSONObject (Antwort); System.out.println ("jsonResponse" + jsonObject); } catch (JSONException e) { e.printStackTrace(); } – Manish