Packages

c

com.digitalasset.canton.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, domain.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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def decodeContractLocatorKey(a: ContractLocator[JsValue], jwt: Jwt, ledgerId: LedgerId)(implicit ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[ContractLocator[domain.LfValue]]
  7. 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]
  8. 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]]
  9. def decodeExerciseCommand(a: JsValue, jwt: Jwt, ledgerId: LedgerId)(implicit ev1: JsonReader[OptionalPkg[JsValue, ContractLocator[JsValue]]], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[RequiredPkg[domain.LfValue, ContractLocator[domain.LfValue]]]
  10. 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]]
  11. def decodeUnderlyingValuesToLf[F[_]](fa: F[JsValue], jwt: Jwt, ledgerId: LedgerId)(implicit arg0: Traverse[F], arg1: Compat[F], ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID]): ET[F[domain.LfValue]]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def keyType(id: domain.ContractTypeId.Template.OptionalPkg)(implicit ec: ExecutionContext, lc: LoggingContextOf[InstanceUUID], jwt: Jwt, ledgerId: LedgerId): ET[LfType]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def templateRecordType(id: domain.ContractTypeId.Template.RequiredPkg): \/[JsonError, LfType]
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. 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
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped