constructor(targetType: KClass<out T>) Same as the regular constructor but takes a Kotlin reflection KClass instead of a Java Class.
constructor(targetType: Class<out T>, om: <Error class: unknown class> = JacksonSupport.createNonRpcMapper(YAMLFactory()))