如果字段为空,如何告诉杰克逊在序列化期间忽略该字段?

public class SomeClass {
   // what jackson annotation causes jackson to skip over this value if it is null but will 
   // serialize it otherwise 
   private String someValue; 
}

答案