Interface DefinedDataType<T>

Type Parameters:
T - A "self type", some subclass of this interface that T implements.
All Known Subinterfaces:
DamlEnum<T>
All Known Implementing Classes:
DamlRecord, Template, Variant

public interface DefinedDataType<T>
The codegen-decoded form of any of these:
  1. what DamlRecord describes,
  2. a Variant without type parameters, or
  3. any DamlEnum.

Its encoded counterpart is Value, which can be produced with toValue().

  • Method Details

    • toValue

      Value toValue()
      Produce the encoded form.
    • jsonEncoder

      JsonLfEncoder jsonEncoder()
    • toJson

      default String toJson()