finos/morphir-elm/14.0.0

NOTE: the latest version is 22.0.2

Formerly Morgan-Stanley/morphir-elm. Search finds this package by either name.

Morphir.IR.Package.Codec

Codecs for types in the Morphir.IR.Package module.

Specification

encodeSpecification : (ta -> Value) -> Specification ta -> Value

Encode Specification.

decodeSpecification : Decoder ta -> Decoder (Specification ta)

Decode Specification.

Definition

encodeDefinition : (ta -> Value) -> (va -> Value) -> Definition ta va -> Value

Encode Definition.

decodeDefinition : Decoder ta -> Decoder va -> Decoder (Definition ta va)

Decode Definition.