kotlinx-serialization / kotlinx.serialization.json / JsonObject / getArrayOrNull

getArrayOrNull

(common, js, jvm, native) fun getArrayOrNull(key: String): JsonArray?

Returns JsonArray associated with given key or null if element is not present or has different type