This is Json format:

```
{
"success": true
"message": "User Login successfully"
"response": {
"userDetails": {
"firstName": "yoyo"
"lastName": "ho"
"gender": ""
"batch": null
"userId": 4
"userType": "Student"
"bio": null
"phone": null
"email": "oopsss@gmail.com"
"country": null
"state": null
"city": null
"pictureUrl": null
"fbLink": null
"twLink": null
"liLink": null
"provider": "EMAIL"
"isVerified": 0
"isActive": 1
}-
"token":    "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOnsidXNlcklkIjo0LCJ1c2VyVHlwZSI6IlN0dWRlbnQifSwiaWF0IjoxNDYzNDAzMzc5LCJleHAiOjUwNjMzOTk3Nzl9.kxhCqR_vtHVHQwaUKj0KhF3OyZEY6T4Kg-XnOfunaZY"
}-
}

```

My Model is like that, where i put this json:

```
@Parcel
public class UserModel {
public String firstName;
public String lastName;
public String gender;
public String batch;
public String userId;
public String userType;
public String bio;
public String phone;
public String email;
public String country;
public String state;
public String city;
public String pictureUrl;
public String fbLink;
public String twLink;
public String liLink;
public String provider;
public String token;
}

```

To hit the service i used this:

```
public interface LoginService {

@FormUrlEncoded
@Headers("Content-Type: application/x-www-form-urlencoded")
@POST("api/v1/login")
Observable<UserModel> loginUser(
        @Field("email") String email,
        @Field("provider") String provider,
        @Field("password") String pass
);

class Factory {
    public static LoginService create() {
        Retrofit retrofit = new Retrofit.Builder()
                .baseUrl(AppConstants.BASE_URL)
                .addConverterFactory(GsonConverterFactory.create())
                .addCallAdapterFactory(RxJavaCallAdapterFactory.create())
                .build();
        return retrofit.create(LoginService.class);
    }
}

```

}

When i debug the code i found my UserModel is empty, tell me how can i parse the json using GsonConverterFactory of Retrofit.