728x90
반응형
데이터를 주고 받을때, 결과값에 포함되지 않도록 하는 어노테이션임.
아래글 참조.
https://kkangdda.tistory.com/40
RESTful(5) - @JsonIgnore
@JsonIgnore을 붙이면 데이터를 주고 받을 때 해당 데이터는 'Ignore'되어서 아래의 결과창처럼 응답값에 보이지 않게 된다 public class Login { private String uId; @JsonIgnore private String uPw; // pw 숨..
kkangdda.tistory.com
728x90
반응형
'IT > Spring Boot' 카테고리의 다른 글
ResponseEntity, (0) | 2022.09.26 |
---|---|
MessageSource, ObjectMapper, MessageSourceAccessor, Validator (0) | 2022.09.26 |
ORACLE 접속을 위한 build.gradle의 dependencies와 application.properties, mybatis-config.xml (0) | 2022.09.22 |
@Resource 어노테이션 (0) | 2022.09.22 |
SOAP웹 서비스, Provider, Consumer 예제 (0) | 2022.09.22 |
댓글