I want to serialize a POJO class which is not under my control, but want to avoid serializing any of the properties which are coming from the superclass, and not from the fi
Add the following annotation in your Base Class :
@JsonInclude(Include.NON_NULL)