title: How to ignore new fields for an object model with Firebase 1.0.2
body: <p>I'm using the last version <a href="https://www.firebase.com/docs/java-quickstart.html" rel="noreferrer">at the moment</a> of Firebase dependency, which is 1.0.2 and I'm having problems into getting my pojos parsed correctly.</p>
  
  <p>The thing is, at any time the schema can changed but I don't want my app to crash with this:</p>
  
  <blockquote>
    <p>D/AndroidRuntime(14097): Shutting down VM W/dalvikvm(14097):
    threadid=1: thread exiting with uncaught exception (group=0x40a451f8)
    E/AndroidRuntime(14097): FATAL EXCEPTION: main
    E/AndroidRuntime(14097): com.firebase.client.FirebaseException: Failed
    to bounce to type E/AndroidRuntime(14097):    at
    com.firebase.client.DataSnapshot.getValue(DataSnapshot.java:213)</p>
  </blockquote>
  
  <p>Looking into the dependency tree I get that Firebase is using Jackson mapper 1.9.7, so the annotation <code>@JsonIgnoreProperties(ignoreUnknown = true")</code> is not an option. Moreover, the object mapper is wrapped into this Firebase object so I can't configure the <code>DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES</code> property (<code>DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES</code> for Jackson 1.9 and before).</p>
  
  <p>Is there any way to set this property, either as a class-level annotation or configuring the mapper or any other mechanism whatsoever?</p>
  
  <p>The best solution would be that Firebase 1.0.3 started using Jackson 2.0, but don't know if this is something they care about right now.</p>
  
  <p>Note: I've already thought about excluding the transitive Jackson 1.9.7 dependency and adding Jackson 2.0 so that I can access to this ignoreUnknown feature, but I don't think it is a viable choice since I would be changing the mayor version.</p>