Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZTemporalCodec.type
Members list
Value members
Concrete methods
Summon an existing instance.
Summon an existing instance.
Attributes
Derive a codec for a case class, case object, or sealed trait by generating a zio-json codec via zio.json.JsonCodec.derived and wrapping it. Requires a deriving.Mirror.Of[A], as all zio-json Scala 3 derivation does.
Derive a codec for a case class, case object, or sealed trait by generating a zio-json codec via zio.json.JsonCodec.derived and wrapping it. Requires a deriving.Mirror.Of[A], as all zio-json Scala 3 derivation does.
Attributes
Build a codec explicitly from the raw zio-json pieces.
Build a codec explicitly from the raw zio-json pieces.
Attributes
Givens
Givens
Bridge counterpart to jsonEncoderFromJsonCodec.
Bridge: when a JsonCodec[A] is in scope (e.g. from final case class Foo(...) derives JsonCodec), expose its encoder as a JsonEncoder[A]. Lets zio-json's generic combinators (JsonEncoder.list, JsonEncoder.option, …) find what they need without forcing users to hand-write a separate given JsonEncoder[Foo] = jsonCodec.encoder.
Bridge: when a JsonCodec[A] is in scope (e.g. from final case class Foo(...) derives JsonCodec), expose its encoder as a JsonEncoder[A]. Lets zio-json's generic combinators (JsonEncoder.list, JsonEncoder.option, …) find what they need without forcing users to hand-write a separate given JsonEncoder[Foo] = jsonCodec.encoder.
Intentionally generic so it stays less-specific than zio-json's own JsonEncoder.int etc. — Scala's given-specificity rules prefer the non-generic instance for primitives, avoiding ambiguity.
Attributes
Inherited givens
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances1 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)
Attributes
- Inherited from:
- LowPriorityZTemporalCodecInstances0 (hidden)