https://firstws.tistory.com/46
[SpringBoot] LocalDateTime 받기(클라이언트Json→서버)
Postman - Json 작성 { "sendDate" : "2023-01-18T11:22:33" } 받을 DTO의 변수에 다음과 같이 셋팅하기 public class TransferInfoDto { //@JsonDeserialize(using = LocalDateDeserializer.class) //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern
firstws.tistory.com
'Spring > study for project' 카테고리의 다른 글
[Database] 식별관계와 비 식별관계 (0) | 2024.01.04 |
---|---|
[mysql] 자료형 (2) | 2024.01.04 |
Repository에 쓰이는 JPA의 findById vs getReferenceById (0) | 2023.12.29 |
스프링 구조 (0) | 2023.12.29 |
build.gradle에 lombok 설정 (1) | 2023.12.29 |