getObjectOrNullAs

fun <T> getObjectOrNullAs(fieldName: String): T?