JSON 수발신할때 값이 없으면 안보내는 것을 뜻함
@JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
int 0 : 안보냄
"" : 안보냄
null : 안보냄
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@JsonInclude(JsonInclude.Include.NON_NULL)
int 0 : 보냄
"" : 보냄
null : 안보냄
@JsonSerialize(include=JsonSerialize.Inclusion.ALWAYS)
int 0 : 보냄
"" : 보냄
null : 보냄
@JsonSerialize(include=JsonSerialize.Inclusion.NON_EMPTY)
int 0 : 보냄
"" : 안보냄
null : 안보냄
'Infra & Server Dev' 카테고리의 다른 글
| [CentOS]톰캣 로그 log 파일 분할 - logrotate (0) | 2016.01.29 |
|---|---|
| [CentOS] CentOS 64Bit MongoDB 3.2 설치하기 (0) | 2016.01.27 |
| intellij java decompiler plugin (0) | 2015.10.06 |
| intellij svn disconnect 플러그인 설치 (0) | 2015.09.18 |
| [Centos] MariaDB error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory (0) | 2015.07.20 |