Jackson: Ignore null and empty fields - Wilddiary.com
The Jackson Object Mapper can take serialization option that controls the serialization process. You can set the option by calling setSerializationInclusion() and pass in the desired JsonInclude serialization option.
Read full article from Jackson: Ignore null and empty fields - Wilddiary.com
No comments:
Post a Comment