On Mon, Jan 24, 2022 at 8:13 PM Xeno Amess <[email protected]> wrote:

> Hi.
> Is there any reason not support Path in JsonFactory and ObjectMapper?
> If not, then I would provide a pr when I have time.
>

The main reason is that `Path` was added in JDK 7 and for the longest time
Jackson only required JDK 6.

With 2.13 jackson-databind requires JDK 8, so adding support in
`ObjectMapper` (and `ObjectReader`) would be fine.

`jackson-core` (JsonFactory / TokenStreamFactory) however still only
requires JDK 6 for 2.13, and while
we may consider upgrading the baseline within 2.x no decision has been made
(or proposal) for 2.14.
So addition in JsonFactory would not yet be possible.

So, a PR against `2.14` (this is API add so can not go in as part of 2.13.x
patches) for `jackson-databind` would be welcome.

Anyone else have comments, suggestions, wrt this question?

-+ Tatu +-

-- 
> You received this message because you are subscribed to the Google Groups
> "jackson-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jackson-user/96b2fcd7-3f1c-48fa-aadd-15ff6f3b85abn%40googlegroups.com
> <https://groups.google.com/d/msgid/jackson-user/96b2fcd7-3f1c-48fa-aadd-15ff6f3b85abn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/CAGrxA24hYAiFW1xymfxBcNRqwYTkEakCm8ikO7bwbeuLdXcwsw%40mail.gmail.com.

Reply via email to