morphir.sdk.set.Codec.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of morphir-sdk-json_3 Show documentation
Show all versions of morphir-sdk-json_3 Show documentation
The morphir[3.3.1].sdk.json.jvm.artifactName package
package morphir.sdk.set
import io.circe.{ Decoder, Encoder }
import morphir.sdk.Set.Set
object Codec {
implicit def encodeSet[A](implicit encodeA: Encoder[A]): Encoder[Set[A]] =
Encoder.encodeSet(encodeA)
implicit def decodeSet[A](implicit decodeA: Decoder[A]): Decoder[Set[A]] =
Decoder.decodeSet(decodeA)
}