No, you'll have to handle it on your own; possibly by using separate
`XmlMapper` for values.

-+ Tatu +-


On Mon, Nov 28, 2016 at 11:28 PM,  <[email protected]> wrote:
> How do I parse a json containing xml as string in one of the field.
>
> Pojo:
>    class A {
>      B b;
>      int val1;
>      string s;
>    }
> class B {
>     string c;
> }
>
>
> {
>   b:"<xml><s>valeiue</s></xml>"
>   val1:100,
>   s:"asdsad"
> }
>
>
> Is there way to deserialise it out of box using objectmapper?
>
>
> --
> 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 post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to