문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
springframework:springboot:json [2019/02/21 12:17] kwon37xi |
springframework:springboot:json [2020/07/10 14:30] kwon37xi |
||
---|---|---|---|
줄 7: | 줄 7: | ||
==== 기본 설정 ==== | ==== 기본 설정 ==== | ||
- | * 의존성에 다음 추가해야 JSR310 날짜/ | + | * SpringBoot 2.x 는 starter 추가 하면 Jackson '' |
+ | api ' | ||
+ | </ | ||
+ | * 구버전 SpringBoot 에서는 | ||
compile(' | compile(' | ||
compile(' | compile(' | ||
줄 42: | 줄 45: | ||
spring.jackson.serialization.write-dates-as-timestamps: | spring.jackson.serialization.write-dates-as-timestamps: | ||
</ | </ | ||
- | * SpringBoot 2.x 는 이값이 **기본 '' | + | * SpringBoot 2.x 는 이값이 **기본 '' |
* 이렇게 하면 '' | * 이렇게 하면 '' | ||
{ | { |