MCPcopy
hub / github.com/google/gson / getAsJsonObject

Method getAsJsonObject

src/main/java/com/google/gson/JsonObject.java:188–190  ·  view source on GitHub ↗

Convenience method to get the specified member as a JsonObject. @param memberName name of the member being requested. @return the JsonObject corresponding to the specified member.

(String memberName)

Source from the content-addressed store, hash-verified

186 * @return the JsonObject corresponding to the specified member.
187 */
188 public JsonObject getAsJsonObject(String memberName) {
189 return (JsonObject) members.get(memberName);
190 }
191
192 @Override
193 public boolean equals(Object o) {

Calls 1

getMethod · 0.45