How does Jackson JaxbAnnotationIntrospector skip null value using annotation

前端 未结 0 1773
走了就别回头了
走了就别回头了 2020-12-16 14:21

I want to serialize POJO object to xml but skip a particular field if the value is null.

@XmlRootElement(name = "Request")
class Request {

    @Xml         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题