### Question:
FilePropertiesSpec { public Optional<Instant> getTimestamp() { return Optional.ofNullable(timestamp); } @JsonCreator  FilePropertiesSpec(
      @JsonProperty("filePermissions") String filePermissions,
      @JsonProperty("directoryPermissions") String directoryPermissions,
      @JsonProperty("user") String user,
      @JsonProperty("group") String group,
      @JsonProperty("timestamp") String timestamp); Optional<FilePermissions> getFilePermissions(); Optional<FilePermissions> getDirectoryPermissions(); Optional<String> getUser(); Optional<String> getGroup(); Optional<Instant> getTimestamp();  }### Answer:
@Test public void testFilePropertiesSpec_timestampSpecIso8601() throws JsonProcessingException { String data = "timestamp: 2020-06-08T14:54:36+00:00"; FilePropertiesSpec parsed = mapper.readValue(data, FilePropertiesSpec.class); Assert.assertEquals(Instant.parse("2020-06-08T14:54:36Z"), parsed.getTimestamp().get()); }