https://kotlinlang.org logo
Title
u

user

07/18/2022, 7:41 AM
extract data from JSON response volley android I´m trying to extract data from my JSON response from php in kotlin. This it´s result from my php: Log.d(TAG, "Login Response: $response") Login Response: {"data":{"name":"david","surname":null,"email":"prueba@prueba.com","phone":null,"password":"123456"}} but when i access to this json: W/System.err: org.json.JSONException: No value for name W/System.err: at org.json.JSONObject.get(JSONObject.java:400) W/System.err: at org.json.JSONObject.getString(JSONObject.java:561) W/System.err:...