jackson - Spring boot deserialization for two models -
i want deserialize json 2 models not related, after research custom deserialization in jackson cannot see how can it?
i know can solve issue creating wrapper model 2 models isnt there way deserialize on fly without jackson?
i can use objectmapper twice same json input. may need annotation
@jsonignoreproperties(ignoreunknown = true)
and/or
@jsoninclude(include.non_null)
on producer side can too. if give 2 models ?
Comments
Post a Comment