Class PrimitiveValueDecoders


  • public final class PrimitiveValueDecoders
    extends java.lang.Object
    ValueDecoders for Daml types that are not code-generated.
    See Also:
    ValueDecoder
    • Field Detail

      • fromBool

        public static final ValueDecoder<java.lang.Boolean> fromBool
      • fromInt64

        public static final ValueDecoder<java.lang.Long> fromInt64
      • fromText

        public static final ValueDecoder<java.lang.String> fromText
      • fromTimestamp

        public static final ValueDecoder<java.time.Instant> fromTimestamp
      • fromParty

        public static final ValueDecoder<java.lang.String> fromParty
      • fromDate

        public static final ValueDecoder<java.time.LocalDate> fromDate
    • Method Detail

      • impossible

        public static <T> ValueDecoder<T> impossible()