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

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -