title: Jackson JSON API Deserialization Streaming Unrecognized Field
body: <p>I have this json:</p>
  
  <pre><code>[{"cdCondicaoPagto":"1","NrParcela":1,"NrDias":0}]
  </code></pre>
  
  <p>and this class:</p>
  
  <pre><code>public static class CondicaoPagtoItem implements Serializable {
  
      private String cdCondicaoPagto;
      private Integer NrParcela;
      private Integer NrDias;
  
      public CondicaoPagtoItem() {
      }
  
      public String getCdCondicaoPagto() {
          return cdCondicaoPagto;
      }
  
      public void setCdCondicaoPagto(String cdCondicaoPagto) {
          this.cdCondicaoPagto = cdCondicaoPagto;
      }
  
      public Integer getNrParcela() {
          return NrParcela;
      }
  
      public void setNrParcela(Integer NrParcela) {
          this.NrParcela = NrParcela;
      }
  
      public Integer getNrDias() {
          return NrDias;
      }
  
      public void setNrDias(Integer NrDias) {
          this.NrDias = NrDias;
      }
  }
  </code></pre>
  
  <p>And I'm trying to read it by streaming, this way:</p>
  
  <pre><code>JsonFactory jsonFactory = new JsonFactory();
  ObjectMapper jsonMapper = new ObjectMapper(jsonFactory);
  JsonNode jsonNodeGeral = jsonMapper.readTree(new File("/home/cechinel/Documentos/CondicaoPagtoItem.json"));  
  
  Iterator&lt;JsonNode&gt; elements = jsonNodeGeral.getElements();
  
  while(elements.hasNext()){
      JsonNode jsonNode = elements.next();
  
      CondicaoPagtoItem condicao = jsonMapper.treeToValue(jsonNode, CondicaoPagtoItem.class);
  }
  </code></pre>
  
  <p>But It causing the following error:</p>
  
  <blockquote>
    <p>UnrecognizedPropertyException: Unrecognized field "NrParcela"</p>
  </blockquote>
  
  <p>If I use the annotation @JsonProperty it works, but I don't want to do it in which integer field.</p>