I am using the new-to-me Spring Elasticsearch API which no longer supports Jackson serialization. I'm in the process of updating all my entities, but have run into an issue where I can no longer ignore properties that have a null or empty value when serializing.
Can someone help point me to some documentation for the new Java API that mimics the Jackson @JsonInclude(Include.NonNull, Include.NonEmpty) annotation, which ONLY includes the property when its value is NOT null and NOT empty.
I've looked all over the web, but I cannot find any hints as to how this can be accomplished.
Any links or insight is greatly appreciated.