Jackson- reading '&amp' into unicode \u0026

39 views Asked by At

I am using the jackson-dataformat-xml to read some xml.

In some of the Strings its reading the xml special character & as: &

When jackson reads it into a POJO the character is turned into: \u0026

for e.g. the string Air "B&B" is turned into "Air B\u0026B".

Is it possible to direct jackson to convert this string to "Air B&B" instead of "Air B\u0026B"?

0

There are 0 answers