Packages

package circe

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. abstract class DiscriminatorDependentCodec[T] extends ObjectEncoder[T] with Decoder[T]

    Adds a discriminator for encoding multiple algebraic sub types into the same json.

    Adds a discriminator for encoding multiple algebraic sub types into the same json. Similar to https://circe.github.io/circe/codecs/adt.html but we can choose the discriminator and values by our self, to make JSON spec simpler.

    This is for circe JSON, not Play JSON.

  2. class EnumDiscriminatorCodec[T] extends Encoder[T] with Decoder[T]

    Encodes the values of a trivial disjunct enum hierarchy into a Json string.

    Encodes the values of a trivial disjunct enum hierarchy into a Json string. Note: is using circe json.

    TODO: Circe's KeyDecoder and KeyEncoder somehow have a similar meaning however they are abstract classes so we cannot easily mix them together. Maybe it's a good idea to clean up.

  3. abstract class TrialDependentCodec[T] extends ObjectEncoder[T] with Decoder[T]

    A JSON codec which is built from other codecs and just tries them out during decoding.

    A JSON codec which is built from other codecs and just tries them out during decoding. Similar to DiscriminatorDependentCodec but without the kind type as they are all distinct.

Value Members

  1. object CirceJson

    Helper for Circe Json.

  2. object EnumDiscriminatorCodec extends Serializable
  3. object ExtraCirceCodecs

    Extra implicit codecs for Circe JSON.

  4. object MessagePackJsonSupport

    Helper for reading/writing JSON in MessagePack.

Ungrouped