readField

fun readField(accessor: Any, field: Field): Any?

Reads the given field using the given accessor. This function bypasses any modifier to directly access the field's value. If this fails for any reason, VitalConfigException.ReadField is thrown.