class ApiCodecCompressed extends AnyRef
A compressed encoding of API values.
The encoded values do not include type information. For example, it is impossible to distinguish party and text values in the encoded format.
Therefore, this JSON format can only decode given a target type.
apiValueJsonReader
can create a JSON reader with the necessary type information.
- Self Type
- ApiCodecCompressed
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ApiCodecCompressed
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ApiCodecCompressed(encodeDecimalAsString: Boolean, encodeInt64AsString: Boolean)(implicit readCid: JsonReader[ContractId], writeCid: JsonWriter[ContractId])
- encodeDecimalAsString
Not used yet.
- encodeInt64AsString
Not used yet.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apiValueJsonReader(typ: NavigatorModelAliases.DamlLfIdentifier, defs: NavigatorModelAliases.DamlLfTypeLookup): JsonReader[Value]
Creates a JsonReader for Values with the relevant type information
- def apiValueJsonReader(typ: NavigatorModelAliases.DamlLfType, defs: NavigatorModelAliases.DamlLfTypeLookup): JsonReader[Value]
Creates a JsonReader for Values with the relevant type information
- def apiValueToJsValue(value: Value): JsValue
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val encodeDecimalAsString: Boolean
- val encodeInt64AsString: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsValueToApiValue(value: JsValue, id: NavigatorModelAliases.DamlLfIdentifier, defs: NavigatorModelAliases.DamlLfTypeLookup): Value
Deserialize a value, given the ID of the corresponding closed type
- def jsValueToApiValue(value: JsValue, typ: NavigatorModelAliases.DamlLfType, defs: NavigatorModelAliases.DamlLfTypeLookup): Value
Deserialize a value, given the type
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def stringToApiType(value: String, id: NavigatorModelAliases.DamlLfIdentifier, defs: NavigatorModelAliases.DamlLfTypeLookup): Value
Same as jsValueToApiType, but with unparsed input
- def stringToApiType(value: String, typ: NavigatorModelAliases.DamlLfType, defs: NavigatorModelAliases.DamlLfTypeLookup): Value
Same as jsValueToApiType, but with unparsed input
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])