Why is that when I have an Activity object, and do :

Activity object = mapper.readValue(value, Activity.class);
object.getLinks()

getLinks() returns a List<Object> instead of a list of Link Objects defined by 
http://json-schema.org/links#properties, as the Activity.json schema 
references.  Shouldn't the object mapper map those to Link objects, and the 
jsonschema2pojo object create the pojo Link class? Is this working as intended 
or is this a bug that needs to be fixed?


Ryan Ebanks
Senior Manager, Data Sciences
W2O Digital
3000 E Cesar Chavez St., Suite 300  Austin, Texas  78702
direct 512.402.6364  |  cell 512.773.1098
email [email protected]<mailto:[email protected]>
twitter  ebanksre | linkedin RyanEbanks



Reply via email to