title: Converting from json to a class with gson does not appear to do anything
body: <p>I am attempting to deserialize a json string using <a href="http://code.google.com/p/google-gson/" rel="nofollow">gson</a>. Here is my code</p>
  
  <pre><code>static class ReturnPramaters {
      public ReturnPramaters()
      {
      }
      public Boolean LoginFailed = true;
      public String LoginFailedReason = "";
      public String AppPath  = "";
      public String WorkstiaonGuid = "";
      public String RDPUsername  = "";
      public String RDPPassword  = "";
      public int StartMode = -1;
      public String ServerAddress  = "";
  }
  public static void main(String[] args) {
      String json = sendGetRequest("http://example.com:80/Rdp/json/login","username=test&amp;password=1234");
      Gson gson = new Gson();
      ReturnPramaters para = gson.fromJson(json, ReturnPramaters.class);
      if(para.LoginFailed)
          JOptionPane.showMessageDialog(null, para.LoginFailedReason, "Login Failed",JOptionPane.ERROR_MESSAGE);
      else {
          //...
      }
  }
  </code></pre>
  
  <p>here is my json string that is retured from the get request.</p>
  
  <pre><code>"{"d":{"__type":"ReturnPramaters:#ServerApp","AppPath":"C:\\Remote Desktop Manager\\Launcher\\Launcher.exe","LoginFailed":false,"LoginFailedReason":null,"RDPPassword":"XjE2QAL","RDPUsername":"test09","ServerAddress":"example.com","StartMode":1,"WorkstiaonGuid":"96175701-f72a-44e9-8ee1-6eb756293654"}}"
  </code></pre>
  
  <p>However after <code>ReturnPramaters para = gson.fromJson(json, ReturnPramaters.class);</code> para still has all of it's uninitialized values. What is going wrong that is causing this to fail?</p>