jsonElementListOrNull

fun JsonElement.jsonElementListOrNull(vararg keys: String): List<JsonElement>?

Navigates to the nested element at keys and returns it as a list of JsonElement, or null if not found. Extension function on JsonElement.