Class JsonObject.Member

    • Method Detail

      • getName

        public String getName()
        Returns the name of this member.
        the name of this member, never null
      • getValue

        public JsonValue getValue()
        Returns the value of this member.
        the value of this member, never null
      • 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.

        equals in class Object
        object - the object to be compared with this JsonObject
        true if the specified object is equal to this JsonObject, false otherwise