### Question:
InstantAdapter { @FromJson public Instant fromJson(String value) { return Instant.parse(value); }  @ToJson String toJson(Instant instant); @FromJson Instant fromJson(String value);  }### Answer:
@Test public void deserialization() throws IOException { assertThat(adapter.fromJson("\"1970-01-01T00:00:00Z\"")).isEqualTo(EPOCH); assertThat(adapter.fromJson("\"2015-07-31T10:16:59Z\"")).isEqualTo(RECENT); }