@Test public void json() throws JsonProcessingException { assertThat(new ObjectMapper().writeValueAsString(InstanceId.of("abc"))).isEqualTo("\"abc\""); }
@JsonCreator public static InstanceId of(String value) { return new InstanceId(value); }
InstanceId implements Serializable, Comparable<InstanceId> { @JsonCreator public static InstanceId of(String value) { return new InstanceId(value); } }
InstanceId implements Serializable, Comparable<InstanceId> { @JsonCreator public static InstanceId of(String value) { return new InstanceId(value); } private  InstanceId(String value); }
InstanceId implements Serializable, Comparable<InstanceId> { @JsonCreator public static InstanceId of(String value) { return new InstanceId(value); } private  InstanceId(String value); @JsonCreator static InstanceId of(String value); @JsonValue @Override String toString(); @Override int compareTo(InstanceId that); }
InstanceId implements Serializable, Comparable<InstanceId> { @JsonCreator public static InstanceId of(String value) { return new InstanceId(value); } private  InstanceId(String value); @JsonCreator static InstanceId of(String value); @JsonValue @Override String toString(); @Override int compareTo(InstanceId that);  }