How to specify a default value in a JSON API Response for Jackson Retrofit Android parsing?
<p>I have a class declared like:</p>

<pre><code>public class Doc {
    private final String mTitle;
    private final String mCanRespond;

    @JsonCreator
    public Doc(@JsonProperty("title") final String title, @JsonProperty("can_respond") final boolean canRespond) {
       mTitle = title;
       mCanRespond = canRespond;
    }
}
</code></pre>

<p>I want to be able to specify the default value of <code>mCanRespond</code> as <code>true</code> if the field <code>can_respond</code> is missing from the JSON response. 
Current behavior is if it is missing, the value of <code>canRespond</code> is <code>false</code>.</p>

<p>I tried using the <code>Boolean</code> object, but it doesn't get assigned <code>null</code> either.</p>