I want to parsing JSON in android using volleylibrary for login.In Login activity,send two parameters(username,password) via post and response like below.
parameters :
username
password
for success:
{
"status": 1,
"message": "successfully login" ,
"result": [
{
"name": "abc",
"email": "abc@gmail.com",
"Img": "http://img.com/img.png"
}
]
}
for login:
{
"status": 0,
"message": "email or password doesn’t exist"
}