Jackson Full Data Binding and Abstract Class Handling

From NovaOrdis Knowledge Base
Revision as of 22:31, 26 February 2017 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.