nkiesel
05/05/2022, 5:24 PMephemient
05/05/2022, 5:34 PMkotlinModule { }
nkiesel
05/05/2022, 5:39 PMMatthew Gast
05/05/2022, 5:40 PMval jackson = ObjectMapper(YAMLFactory()).registerKotlinModule()
nkiesel
05/05/2022, 5:42 PMObjectMapper
and not a YAMLMapper
but should be ok for me because I don't think I need any YAMLMapper-specific APIs.Matthew Gast
05/05/2022, 5:43 PMephemient
05/05/2022, 5:44 PMkotlinModule { ... }
replaces KotlinModule.Builder(). ... .build()
, so you should see how to use that with YAMLMapper.builder()
nkiesel
05/05/2022, 6:18 PMObjectMapper(YAMLFactory()).registerKotlinModule()
and YAMLMapper.builder().addModule(kotlinModule()).build()
. Thanks for your help!