Utilities and instances for Encoder.
Attributes
- Companion
- trait
- Source
- Encoder.scala
- Graph
-
- Supertypes
- Self type
-
Encoder.type
Members list
Type members
Classlikes
A type class that provides a conversion from a value of type A
to a JSON array.
A type class that provides a conversion from a value of type A
to a JSON array.
Attributes
- Companion
- object
- Source
- Encoder.scala
- Supertypes
- Known subtypes
-
trait AsArray[A]
- Self type
-
AsArray[A]
Utilities and instances for Encoder.AsObject.
Utilities and instances for Encoder.AsObject.
Attributes
- Companion
- trait
- Source
- Encoder.scala
- Supertypes
- Self type
-
AsObject.type
A type class that provides a conversion from a value of type A
to a JsonObject.
A type class that provides a conversion from a value of type A
to a JsonObject.
Attributes
- Companion
- object
- Source
- Encoder.scala
- Supertypes
- Known subtypes
- Self type
-
AsObject[A]
A subtype of Encoder
that statically verifies that the instance encodes either a JSON array or an object.
A subtype of Encoder
that statically verifies that the instance encodes either a JSON array or an object.
Attributes
- Companion
- object
- Source
- Encoder.scala
- Supertypes
- Known subtypes
-
trait AsRoot[A]trait AsArray[A]trait AsObject[A]trait ConfiguredCodec[A]trait AsArray[A]trait AsObject[A]trait ConfiguredEncoder[A]Show all
Value members
Concrete methods
Return an instance for a given type A
.
Attributes
- Source
- Encoder.scala
Construct an instance for a given type with a cats.Foldable instance.
Construct an instance for a given type with a cats.Foldable instance.
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Construct an instance from a function.
Create an Encoder
which assumes one already exists
Create an Encoder
which assumes one already exists
Certain recursive data structures (particularly when generic) greatly benefit from being able to be written this way. See cats.Defer
Attributes
- Source
- Encoder.scala
Inherited methods
Attributes
- Inherited from:
- EncoderDerivationRelaxed (hidden)
- Source
- Derivation.scala
object WeekDay extends Enumeration { ... }
implicit val weekDayEncoder = Encoder.encodeEnumeration(WeekDay)
Attributes
- Inherited from:
- EnumerationEncoders (hidden)
- Source
- EnumerationEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductEncoders (hidden)
- Source
- ProductEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Attributes
- Inherited from:
- ProductTypedEncoders (hidden)
- Source
- ProductTypedEncoders.scala
Implicits
Implicits
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Note that on Scala.js the encoding of Float
values is subject to the usual limitations of Float#toString
on that platform (e.g.
Note that on Scala.js the encoding of Float
values is subject to the usual limitations of Float#toString
on that platform (e.g. 1.1f
will be encoded as a Json value that will be printed as "1.100000023841858"
).
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Preserves iteration order.
Preserves iteration order.
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Attributes
- Source
- Encoder.scala
Inherited implicits
Attributes
- Inherited from:
- MidPriorityEncoders (hidden)
- Source
- Encoder.scala
Encode a Boolean
whose value is known at compile time.
Encode a Boolean
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Encode a Char
whose value is known at compile time.
Encode a Char
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Encode a Double
whose value is known at compile time.
Encode a Double
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Encode a Float
whose value is known at compile time.
Encode a Float
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Encode a Int
whose value is known at compile time.
Encode a Int
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Encode a Long
whose value is known at compile time.
Encode a Long
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Encode a String
whose value is known at compile time.
Encode a String
whose value is known at compile time.
Attributes
- Inherited from:
- LiteralEncoders (hidden)
- Source
- LiteralEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- TupleEncoders (hidden)
- Source
- TupleEncoders.scala
Attributes
- Inherited from:
- LowPriorityEncoders (hidden)
- Source
- Encoder.scala