setCurrentValue/getCurrentValue() in XmlReadContext class not implemented

6 views
Skip to first unread message

ndo...@mindbridge.ai

unread,
Apr 12, 2017, 3:45:25 PM4/12/17
to jackson-user
Hello,

Currently, there appears to be no way of retrieving the current object that is being deserialized from custom deserializers when using the XmlMapper. setCurrentValue() and getCurrentValue() use the base class implementation (JsonStreamContext) which doesn't set or get any values. Can we implement this functionality as part of jackson-dataformat-xml?

Cheers,

Nadeem

Tatu Saloranta

unread,
Apr 12, 2017, 4:28:15 PM4/12/17
to jackson-user
Already done:

https://github.com/FasterXML/jackson-dataformat-xml/issues/228

but will be part of 2.9.0(.pr3)

If anyone observes similarly missing functionality for other context
please file issues: unfortunately this change needs to be rolled out
incrementally.

-+ 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.
Reply all
Reply to author
Forward
0 new messages