如果字段的值为NULL,如何告诉Jackson在序列化期间忽略它?
如果字段的值为NULL,则如何将Jackson配置为在序列化期间忽略字段值。
例如:
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; }
繁花如伊
泛舟湖上清波郎朗
慕村9548890
相关分类