title: Remove key from a Json inside a JsonObject
body: <p>I have JsonObject like below</p>
  
  <pre><code>{"status":"ACTIVE","accounts":{"email":"email@gmail.com","name":"Test"}}
  </code></pre>
  
  <p>How can I remove Json key "email" and its value from the JsonObject by using something like <code>jsonObj.remove("email")</code> in java</p>
  
  <p>JsonObj.removev working for me if I need to remove status key <code>jsonObj.remove("status")</code></p>
  
  <p>Update </p>
  
  <p>Some more background, 
  This is for mainly testing a rest end point. In my test I created java object matching to payload with Builder pattern and then covert to Json using GsonBuilder like</p>
  
  <pre><code>import com.google.gson.GsonBuilder;
  import com.google.gson.JsonObject;
  public class JsonConvertor() {
  public static JsonObject convertToJsonObject(Object payload) {
  GsonBuilder builder = new GsonBuilder();
  return (JsonObject) builder.setFieldNamingPolicy(FieldNamingPolicy.Policy).
              create().toJsonTree(payload);
  }}
  </code></pre>
  
  <p>If I need to remove a required field I use, JsonObj.remove("key") on Json Object created by above function. </p>