On Friday, May 12, 2017 at 7:38:17 AM UTC-7, Rj Ewing wrote: > > Is it possible to set the property of a child object = to the parent > object if present in the deserialization stack? > > I'm using polymorphic deserialization with a custom typeIdResolver. The > child property I would like to set in defined in the interface. > > > Okay, so I was able to do this using a custom ValueInstantiator.
See here for ValueInstantiator help <https://groups.google.com/forum/#!topic/jackson-user/bTaePUmf_YU> and here for getting a parent object <http://stackoverflow.com/a/40515853/4249900> -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
