Jackson not recognizing fields that exist
<p>So here's my JSON</p>

<pre><code>{"totalSize":46,"done":true,"records":[{"Name":"Wamu I","Start_Date__c":"2016-09-26T16:56:10.000+0000","Status__c":"Completed","Type__c":"Your were expecting success, but In reality it was I, Dio!!!"}]}
</code></pre>

<p>And here are my two entity classes:</p>

<pre><code>@JsonIgnoreProperties(ignoreUnknown = true)
public class EsidesiJobEntity {

    @JsonProperty("totalSize")
    private @Getter @Setter Integer totalSize;

    @JsonProperty("done")
    private @Getter @Setter Boolean isDone;

    @JsonProperty("records")
    private @Getter @Setter List&lt;KarsEntity&gt; records;

    @Override
    @JsonIgnore
    public String toString(){

        List&lt;String&gt; recordsObjectString = new ArrayList&lt;String&gt;();

        this.records.forEach((record) -&gt; 
        {
            recordsObjectString.add(record.toString());
        });
        return "{ totalSize:"+this.totalSize+", isDone:"+this.isDone+", records:["+recordsObjectString.toString()+"]";
    }

}

@JsonIgnoreProperties(ignoreUnknown = true)
public class KarsEntity {

    @JsonProperty("Name")
    private @Getter @Setter String name;

    @JsonProperty("Start_Date__c")
    private @Getter @Setter String startDate;

    @JsonProperty("Status__c")
    private @Getter @Setter String status;

    @Override
    public String toString(){
        return "{ name:"+this.name+", startDate:"+this.startDate+", status:"+this.status+"}";
    }
}
</code></pre>

<p>for some reason, when I map that json string to the EsidesiJobEntity, I get the following error:</p>

<pre><code>Unrecognized field "totalSize"
</code></pre>

<p>BUT IT DEFINITELY EXISTS IN BOTH IN BOTH THE JSON AND THE ENTITY!</p>

<p>Here's the code I wrote to map the string to the entity for reference:</p>

<pre><code>EsidesiEntity apexJobResponseEntity;

ObjectMapper apexMapper = new ObjectMapper();
try {
    apexJobResponseEntity = apexMapper.readValue(apexResponseString, EsidesiEntity.class);
} ...
</code></pre>

<p>Am I missing something really basic? </p>

<p>(BTW, If there's some inconsistency in the Class/Entity names, its because I renamed them before posting them online. Let me know and I'll fix them as I see them. )</p>

<p>Thanks!</p>