title: Nested JSON Object (Retrofit)
body: <p>I'm using Retrofit to send picture request and receive this Json </p>
  
  <pre><code>{"response":{
      "face":{
          "value":"true",
          "confidence":55
      },
      "gender":{
          "value":"male",
          "confidence":73
      },
      ...
  }}
  </code></pre>
  
  <p>and I'm receiving it with <strong>Retrofit</strong>....</p>
  
  <pre><code>   RestAdapter adapter = new RestAdapter.Builder()
                      .setLogLevel(RestAdapter.LogLevel.FULL)
                      .setEndpoint(END_POINT)
                      .build();
     Mylistenerr listener = adapter.create(Mylistenerr.class);
     File photo = new File(picturePath);
     TypedFile image = new TypedFile("multipart/image/jpg", photo);
     listener.setUserImage(
         image,
         new Callback&lt;respostring&gt;() {
             @Override
             public void success(respostring rp, Response arg1) {}
  
            @Override
            public void failure(RetrofitError arg0) {
               pd.hide();
               pd.dismiss();
               Log.d("ERROR:", arg0.getLocalizedMessage());
            }
        });     
      }
  
      private static class respostring {
         private Content face;
         private Content gender;
             respostring() {}
      }
  
  
     class Content
     { 
        private int confidence;
        private String value;
  
        Content(){}
  
        public int getconf(){
          return this.confidence;
        }
        public String getvalue(){
          return this.value;
        }
  }
  </code></pre>
  
  <p>My interface</p>
  
  <pre><code>public interface Mylistenerr {
    @Multipart
    @POST("/public/test")
    void setUserImage(
       @Part("image") TypedFile file,          
       Callback&lt;respostring&gt; response);
  }
  </code></pre>
  
  <p>but there is retrofit error. Is there something I miss here?</p>