Interface DefinedDataType<T>
- Type Parameters:
T- A "self type", some subclass of this interface thatTimplements.
- All Known Subinterfaces:
DamlEnum<T>
- All Known Implementing Classes:
DamlRecord,Template,Variant
public interface DefinedDataType<T>
The codegen-decoded form of any of these:
- what
DamlRecorddescribes, - a
Variantwithout type parameters, or - 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
-