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

Add support for java.time (Java 8 date/time) types #100

Closed
sebastian-zero opened this issue Dec 27, 2022 · 2 comments
Closed

Add support for java.time (Java 8 date/time) types #100

sebastian-zero opened this issue Dec 27, 2022 · 2 comments
Labels
2.17 good first issue Issue that seems easy to resolve and is likely a good candidate for contributors new to project pr-welcome Issue for which progress most likely if someone submits a Pull Request

Comments

@sebastian-zero
Copy link

We found that jackson-jr is great in cases where small library size and fast initialization time is important. We use it in Android apps and AWS Lambdas. But one thing that is missing is support for date/time types as specified in JSR-310 specification.

I understand that this is currently only possible by implementing custom ValueReaders/ValueWriters. The documentation points to a blog post with some Groovy code that is not available anymore and can only be found through the web archive.

Please consider adding support for Java 8 date/time types to jackson-jr, e.g. though an additional library/module that provides the required ValueReaders and ValueWriters.

@cowtowncoder
Copy link
Member

This sounds like a great idea @sebastian-zero! Also happy to hear this library works for one of the cases I intended it to (well, actually 2! :) ).

Unfortunately I probably won't have time to work on this directly (even if starting with the linked-to article which sounds like a great starting point!), but I hope that someone else could -- and if so I'll do my best to help them get additional Extension merged.
I prioritize work helping get PRs merged above almost everything else so if anyone is interested in tackling this, please do!

@cowtowncoder cowtowncoder added pr-welcome Issue for which progress most likely if someone submits a Pull Request good first issue Issue that seems easy to resolve and is likely a good candidate for contributors new to project labels Jan 7, 2023
Shounaks added a commit to Shounaks/jackson-jr that referenced this issue Jul 9, 2023
Shounaks added a commit to Shounaks/jackson-jr that referenced this issue Jul 9, 2023
Shounaks added a commit to Shounaks/jackson-jr that referenced this issue Jul 12, 2023
@cowtowncoder cowtowncoder changed the title Support for Java 8 date/time types Add support for java.time (Java 8 date/time) types Feb 19, 2024
@cowtowncoder
Copy link
Member

Initial implementation supporting just LocalDateTime now merged in for 2.17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.17 good first issue Issue that seems easy to resolve and is likely a good candidate for contributors new to project pr-welcome Issue for which progress most likely if someone submits a Pull Request
Projects
None yet
Development

No branches or pull requests

2 participants