public JsonObject remove ( String name ) { if ( name == null ) { throw new NullPointerException ( NAME_IS_NULL ) ; } int index = indexOf ( name ) ; if ( index != - 1 ) { table . remove ( index ) ; names . remove ( index ) ; values . remove ( index ) ; } return this ; }
Removes a member with the specified name from this object . If this object contains multiple members with the given name only the last one is removed . If this object does not contain a member with the specified name the object is not modified .