requiredArray

fun JsonObject.requiredArray(key: String): JsonArray

Returns the nested JsonArray for the given key, or throws SerializationException if the key is missing or not an object.