Jackson Full Data Binding and Abstract Class Handling

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

This is necessary when we get:

com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.amgen.paas.ose.model.buildstrategy.BuildStrategy, problem: 
abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information
...

Also see Jackson_Full_Data_Binding_and_Custom_Deserializers.

TODO.