Packages

c

com.daml.http.json

DomainJsonDecoder

class DomainJsonDecoder extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomainJsonDecoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DomainJsonDecoder(resolveContractTypeId: ResolveContractTypeId, resolveTemplateRecordType: ResolveTemplateRecordType, resolveChoiceArgType: ResolveChoiceArgType, resolveKeyType: ResolveKeyType, jsValueToApiValue: (LfType, JsValue) => \/[JsonError, Value], jsValueToLfValue: (LfType, JsValue) => \/[JsonError, LfValue])

Type Members

  1. type ET[A] = EitherT[Future, JsonError, A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ApiRecordJsonReader(lfType: LfType): JsonReader[Record]
  5. def ApiValueJsonReader(lfType: LfType): JsonReader[Value]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def decodeContractLocatorKey(a: ContractLocator[JsValue], jwt: Jwt, ledgerId: LedgerId)(implicit ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[ContractLocator[LfValue]]
  9. def decodeCreateAndExerciseCommand(a: JsValue, jwt: Jwt, ledgerId: LedgerId)(implicit ev1: JsonReader[CreateAndExerciseCommand[JsValue, JsValue, domain.ContractTypeId.Template.OptionalPkg, domain.ContractTypeId.OptionalPkg]], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): EitherT[Future, JsonError, LAVResolved]
  10. def decodeCreateCommand(a: JsValue, jwt: Jwt, ledgerId: LedgerId)(implicit ev1: JsonReader[CreateCommand[JsValue, domain.ContractTypeId.Template.OptionalPkg]], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[CreateCommand[Record, domain.ContractTypeId.Template.RequiredPkg]]
  11. def decodeExerciseCommand(a: JsValue, jwt: Jwt, ledgerId: LedgerId)(implicit ev1: JsonReader[OptionalPkg[JsValue, ContractLocator[JsValue]]], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[RequiredPkg[LfValue, ContractLocator[LfValue]]]
  12. def decodeUnderlyingValues[F[_]](fa: F[JsValue], jwt: Jwt, ledgerId: LedgerId)(implicit arg0: Traverse[F], arg1: Compat[F], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[F[Value]]
  13. def decodeUnderlyingValuesToLf[F[_]](fa: F[JsValue], jwt: Jwt, ledgerId: LedgerId)(implicit arg0: Traverse[F], arg1: Compat[F], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[F[LfValue]]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def keyType(id: domain.ContractTypeId.Template.OptionalPkg)(implicit ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID], jwt: Jwt, ledgerId: LedgerId): ET[LfType]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def templateRecordType(id: domain.ContractTypeId.Template.RequiredPkg): \/[JsonError, LfType]
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped