Let say there is a class Bean.java
public class Bean{
boolean isAlive();
}
and there is a xmlString which has the above isAlive field with the value , now i need to parse this xml and store it into a java object,
but when i do xmlMapper.readValue( xmlString , Bean.class); if the isAlive() field in xmlString is true , but after deserializing through this above code , the value taken from the xml defaults to false. hence noticed that for boolean values it always defaults to false.