De-serializing JSON to polymorphic object model using Spring and JsonTypeInfo annotation September 13, 2023 by Tarik Try to register subtype using ObjectMapper.registerSubtypes instead of using annotations