All Downloads are FREE. Search and download functionalities are using the official Maven repository.

morphir.sdk.set.Codec.scala Maven / Gradle / Ivy

There is a newer version: 0.21.0
Show newest version
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)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy