@JsonCreator public static NullableValue fromSerializable(@JsonProperty("serializable") Serializable serializable) { Type type = serializable.getType(); Block block = serializable.getBlock(); return new NullableValue(type, block == null ? null : Utils.blockToNativeValue(type, block)); }
@JsonCreator public static NullableValue fromSerializable(@JsonProperty("serializable") Serializable serializable) { Type type = serializable.getType(); Block block = serializable.getBlock(); return new NullableValue(type, block == null ? null : Utils.blockToNativeValue(type, block)); }