I have read several questions with answers here in SO concerning serialization and deserialization between java.time.LocalDateTime and JSON property but I can\'
java.time.LocalDateTime
This worked for me:
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSZ", shape = JsonFormat.Shape.STRING) private LocalDateTime startDate;