Dan,

That comment appears to be historical. The current ObjectMapper
documentation indicates that instances are thread safe as long as all
configuration is completed before read or write operations:

https://github.com/FasterXML/jackson-databind/blob/2.14/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java#L81

Regards,
David Handermann

On Fri, Oct 7, 2022 at 11:05 AM Dan S <[email protected]> wrote:

> Mike,
>  I noticed you did similar work in NIFI-5271
> <https://issues.apache.org/jira/browse/NIFI-5271>.  Joe Witt commented
> there
>
> > We dont have guaranteed thread safety until the jackson 3.0 release.
>
>
> Has that changed?
>
> On Fri, Oct 7, 2022 at 11:55 AM Mike Thomsen <[email protected]>
> wrote:
>
> > To do it right, you want to use a tool like Jackson or Gson to do a
> > test parse after you've detected open and close statements that seem
> > to be JSON open and close statements.
> >
> > On Fri, Oct 7, 2022 at 11:38 AM Dan S <[email protected]> wrote:
> > >
> > > Mike,
> > >  What do you mean by "this might be a somewhat heavy method so be
> > careful."
> > > ?
> >
>

Reply via email to