title: Could not read document: Expected type float, integer, or string
body: <p>I am trying to send put request and i receive the following error,</p>
  
  <pre><code>    Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Expected type float, integer, or string.
  nested exception is com.fasterxml.jackson.databind.JsonMappingException: Expected type float, integer, or string.
  </code></pre>
  
  <p>Value in entity: (converter is of type: AttributeConverter, tried to remove it still doesn't work)</p>
  
  <pre><code>@Convert(converter = ZonedDateTimeConverter.class)
      @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
      @Column(name = "LAST_MODIFIED")
      protected ZonedDateTime lastModified;
  </code></pre>
  
  <p>Merge:</p>
  
  <pre><code>this.entityManager.merge(entity);
          this.entityManager.flush();
  </code></pre>
  
  <p>Using:</p>
  
  <pre><code>jackson-datatype-jsr310
  </code></pre>
  
  <p>I tried to use JsonSerializer and JsonDeSerializer but the result is the same.</p>
  
  <p>Converter:</p>
  
  <pre><code>@Converter(autoApply = true)
  public class ZonedDateTimeConverter implements AttributeConverter&lt;ZonedDateTime, Date&gt; {
  
      @Override
      public Date convertToDatabaseColumn(final ZonedDateTime attribute) {
          if(attribute == null){
              return null;
          }
          return Date.from(attribute.toInstant());
      }
  
      @Override
      public ZonedDateTime convertToEntityAttribute(final Date dbData) {
          if(dbData == null) {
              return null;
          }
          return ZonedDateTime.ofInstant(dbData.toInstant(), ZoneId.systemDefault());
      }
  }
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>@Override
      public ResponseEntity update(@RequestBody final DTO dto) {
          boolean updated = this.service.update(dto);
          if(updated){
              return new ResponseEntity(HttpStatus.OK);
          }
          return new ResponseEntity(HttpStatus.NO_CONTENT);
      }
  </code></pre>