Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocalDateTime Json 객체가 배열로 나오는 문제 #20

Open
ehgns852 opened this issue Mar 31, 2022 · 0 comments
Open

LocalDateTime Json 객체가 배열로 나오는 문제 #20

ehgns852 opened this issue Mar 31, 2022 · 0 comments
Assignees
Labels
🐞 BugFix Something isn't working

Comments

@ehgns852
Copy link
Contributor

ehgns852 commented Mar 31, 2022

이슈


스크린샷 2022-03-31 오후 11 02 10

위와 같이 LocalDateTime 객체가 배열로 나올때 Response객체에 다음과 같은 어노테이션을 달아주면 됩니다.

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Seoul")

해결


스크린샷 2022-03-31 오후 11 05 44

@ehgns852 ehgns852 added the 🐞 BugFix Something isn't working label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 BugFix Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants