Jackson Ignore Properties on Marshalling | Baeldung
https://www.baeldung.com/jackson-ignore-properties-on-serialization
OverviewIgnore Fields at The Class LevelIgnore Field at The Field LevelIgnore All Fields by TypeIgnore Fields Using FiltersConclusion Finally, we can also use filters to ignore specific fields in Jackson. First, we need to define the filter on the Java object: Then we define a simple filter that will ignore the intValuefield: Now we can serialize the object and make sure that the intValuefield is not present in the JSON output:
Finally, we can also use filters to ignore specific fields in Jackson. First, we need to define the filter on the Java object: Then we define a simple filter that will ignore the intValuefield: Now we can serialize the object and make sure that the intValuefield is not present in the JSON output:
DA: 14 PA: 80 MOZ Rank: 98