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

Update gson builder type adapter adding method #2270

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CYX22222003
Copy link

Fixes #2262

Proposed commit message

Fix the popping up of com.google.gson.JsonIOException when trying to run the jar file in java 17.

A simple solution just change the registerTypeAdapter to registerTypeHierarchyAdapter for ZoneId and LocalDateTime

Other information

Here are some reference resources I found online:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Old dashboards failing due to com.google.gson.JsonIOException
1 participant