Klasse JsonObject.Member

Umschließende Klasse:

public static class JsonObject.Member extends Object
Represents a member of a JSON object, a pair of a name and a value.
  • Methodendetails

    • getName

      public String getName()
      Returns the name of this member.
      Gibt zurück:
      the name of this member, never null
    • getValue

      public JsonValue getValue()
      Returns the value of this member.
      Gibt zurück:
      the value of this member, never null
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object object)
      Indicates whether a given object is "equal to" this JsonObject. An object is considered equal if it is also a JsonObject and both objects contain the same members in the same order.

      If two JsonObjects are equal, they will also produce the same JSON output.

      Setzt außer Kraft:
      equals in Klasse Object
      object - the object to be compared with this JsonObject
      Gibt zurück:
      true if the specified object is equal to this JsonObject, false otherwise