On Thu, Sep 26, 2019 at 12:20 PM Aimaen Akief <[email protected]> wrote:
>
> I am trying to use redaction for my PII information before I save it in the 
> server but when i initiated the code. It throws me this exception :
>
>    ## java.lang.ClassCastException: 
> com.fasterxml.jackson.databind.node.TextNode cannot be cast to 
> com.fasterxml.jackson.databind.node.ObjectNode

Yes. Do not try to case `TextNode` as `ObjectNode`: `TextNode` is not
a subtype of `ObjectNode`.

For more help, please include code and input you are using,

-+ 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/CAL4a10h06QZabyACsHC6tU1zkr2io-m%3DwFETEbRtLFNGr073ag%40mail.gmail.com.

Reply via email to