- java.lang.Object
-
- io.github.jopenlibs.vault.json.JsonObject.Member
-
- Enclosing class:
- JsonObject
public static class JsonObject.Member extends java.lang.Object
Represents a member of a JSON object, a pair of a name and a value.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getName()
Returns the name of this member.JsonValue
getValue()
Returns the value of this member.int
hashCode()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of this member.- Returns:
- the name of this member, never
null
-
getValue
public JsonValue getValue()
Returns the value of this member.- Returns:
- the value of this member, never
null
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-