Convenience method to get the specified member as a JsonArray. @param memberName name of the member being requested. @return the JsonArray corresponding to the specified member, or null if no member with this name exists. @throws ClassCastException if the member is not o
(String memberName)
| 208 | * @throws ClassCastException if the member is not of type {@code JsonArray}. |
| 209 | */ |
| 210 | public JsonArray getAsJsonArray(String memberName) { |
| 211 | return (JsonArray) members.get(memberName); |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Convenience method to get the specified member as a {@link JsonObject}. |