title: How to convert JSON string to custom object?
body: <p>I've string like this (just )</p>
  
  <pre><code>"{\"username":\"stack\",\"over":\"flow\"}"
  </code></pre>
  
  <p>I'd successfully converted this string to JSON with</p>
  
  <pre><code>JSONObject object = new JSONObject("{\"username":\"stack\",\"over":\"flow\"}");
  </code></pre>
  
  <p>I've a class</p>
  
  <pre><code>public class MyClass
  {
      public String username;
      public String over;
  }
  </code></pre>
  
  <p>How can I convert JSONObject into my custom MyClass object?</p>