Jackson Full Data Binding and Abstract Class Handling: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Jackson Full Data Binding")
 
No edit summary
Line 1: Line 1:
=External=
* http://wiki.fasterxml.com/JacksonPolymorphicDeserialization
=Internal=
=Internal=


* [[Jackson_Full_Data_Binding#Abstract_Class_Handling|Jackson Full Data Binding]]
* [[Jackson_Full_Data_Binding#Abstract_Class_Handling|Jackson Full Data Binding]]
=Overview=
This is necessary when we get:
<pre>
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
...
</pre>
<font color=red>TODO.</font>

Revision as of 22:30, 26 February 2017

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
...

TODO.