Is Jackson TypeReference thread safe?

719 views
Skip to first unread message

Anurag Laddha

unread,
Apr 16, 2017, 8:10:58 PM4/16/17
to jackson-user
Can i use the same com.fasterxml.jackson.core.type.TypeReference<T> instance across multiple threads?

Thanks!

Tatu Saloranta

unread,
Apr 16, 2017, 8:11:32 PM4/16/17
to jackson-user
Yes, they are immutable and thread-safe.

-+ 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 jackson-user...@googlegroups.com.
> To post to this group, send email to jackso...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Anurag Laddha

unread,
Apr 21, 2017, 3:29:20 PM4/21/17
to jackson-user
Thanks for confirming.
Reply all
Reply to author
Forward
0 new messages