I am serializing a POJO into JSON using Jackson 2.1.4 but I want to ignore a particular field from getting serialized. I used transient but still it is serializing that element.
You can configure it with springs properties
spring.jackson.mapper.propagate-transient-marker=true