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
 
(2 intermediate revisions by the same user not shown)
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>
Also see [[Jackson_Full_Data_Binding_and_Custom_Deserializers]].
<font color=red>TODO.</font>

Latest revision as of 22:31, 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
...

Also see Jackson_Full_Data_Binding_and_Custom_Deserializers.

TODO.