Adds a member, which is a name-value pair, to self.
Returns a deep copy of this element.
Returns a set of members of this object.
convenience method to get this element as a BigDecimal.
convenience method to get this element as a BigInteger.
convenience method to get this element as a boolean value.
convenience method to get this element as a primitive character value.
convenience method to get this element as a primitive double value.
convenience method to get this element as a primitive float value.
convenience method to get this element as a primitive integer value.
convenience method to get this element as a JsonArray.
convenience method to get this element as a JsonNull.
convenience method to get this element as a JsonObject.
convenience method to get this element as a JsonPrimitive.
convenience method to get this element as a primitive long value.
convenience method to get this element as a Number.
convenience method to get this element as a primitive short value.
convenience method to get this element as a string value.
Convenience method to check if a member with the specified name is present in this object.
provides check for verifying if this element is an array or not.
provides check for verifying if this element represents a null value or not.
provides check for verifying if this element is a Json object or not.
provides check for verifying if this element is a primitive or not.
Returns a set of members key values.
Returns the number of key/value pairs in the object.
A class representing an object type in Json. An object consists of name-value pairs where names are strings, and values are any other type of JsonElement. This allows for a creating a tree of JsonElements. The member elements of this object are maintained in order they were added.
See com.google.gson.JsonObject for full documentation