如果字段的值为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
随时随地看视频慕课网APP
相关分类