Code example for LinkedTreeMap

Methods: put

0
   */ 
  public void add(String property, JsonElement value) {
    if (value == null) {
      value = JsonNull.INSTANCE;
    } 
    members.put(property, value);
  } 
 
  /** 
   * Removes the {@code property} from this {@link JsonObject}. 
   * 
   * @param property name of the member that should be removed. 
   * @return the {@link JsonElement} object that is being removed. 
   * @since 1.3 
   */ 
  public JsonElement remove(String property) {
    return members.remove(property);
  } 
 
  /** 
Connect your IDE to all the code out there  Get Codota for Java