objOr

private fun JsonObject.objOr(key: String): JsonObject

A nested object, or an empty one: a missing member and a non-object one both mean "no fields to read".