static ViewHistoryEntry fromJson(String json) {
    return JsonUtil.parse(json, ViewHistoryEntryParser::fromJson);
  }
@Test
  public void testViewHistoryEntryFromJson() {
    String json = "{\"timestamp-ms\":123,\"version-id\":1}";
    ViewHistoryEntry viewHistoryEntry =
        ImmutableViewHistoryEntry.builder().versionId(1).timestampMillis(123).build();
    assertThat(ViewHistoryEntryParser.fromJson(json))
        .as("Should be able to deserialize valid view history entry")
        .isEqualTo(viewHistoryEntry);
  }