streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ebanks [W2O Digital]" <>
Subject Activity Object question
Date Thu, 13 Feb 2014 16:18:16 GMT
Why is that when I have an Activity object, and do :

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

getLinks() returns a List<Object> instead of a list of Link Objects defined by,
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
twitter  ebanksre | linkedin RyanEbanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message