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

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -