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.

Reply via email to