title: Creating GSON Object
body: <p>How do I create a json Object using Google Gson?
  The following code creates a json object which looks like <code>{"name":"john"}</code></p>
  
  <pre><code>JsonObject jsonObject = new JsonObject();
  jsonObject.addProperty("name", "john");
  </code></pre>
  
  <p>How do I create a jSon Object like this one? </p>
  
  <pre><code>{"publisher":{"name":"john"}}
  </code></pre>