title: java.time.Instant could not be parsed from string like '2016-07-02T00:00:00Z'
body: <p>In REST API Response I am getting date as <code>'2016-07-02T00:00:00Z'</code></p>
  <p>In code, I have a column like below</p>
  <pre class="lang-java prettyprint-override"><code>@JsonFormat(pattern = &quot;yyyy-MM-dd'T'HH:mm:ss&quot;, timezone = &quot;UTC&quot;)
  private Instant effectiveDate;
  
  // getter &amp; setter  
  public Instant getEffectiveDate() {
      return effectiveDate;
  }
  
  public OfferTerm setEffectiveDate(Instant effectiveDate) {
      this.effectiveDate = effectiveDate;
      return this;
  }
  </code></pre>
  <p>Getting below error:</p>
  <blockquote>
  <p><strong>java.time.format.DateTimeParseException: Text '2016-07-02T00:00:00Z' could not be parsed, unparsed text found at index 19</strong></p>
  </blockquote>
  <p>Please help me here.</p>