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 - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -