Code example for LinkedTreeMap

Methods: get

0
   * 
   * @param memberName name of the member that is being requested. 
   * @return the member matching the name. Null if no such member exists. 
   */ 
  public JsonElement get(String memberName) {
    return members.get(memberName);
  } 
 
  /** 
   * Convenience method to get the specified member as a JsonPrimitive element. 
   * 
   * @param memberName name of the member being requested. 
   * @return the JsonPrimitive corresponding to the specified member. 
   */ 
  public JsonPrimitive getAsJsonPrimitive(String memberName) {
    return (JsonPrimitive) members.get(memberName);
  } 
 
  /** 
   * Convenience method to get the specified member as a JsonArray.