io.circe.KeyEncoder
See theKeyEncoder companion object
A type class that provides a conversion from a value of type A
to a string.
This type class will be used to create strings for JSON keys when encoding
Map[A, ?]
instances as JSON.
Note that if more than one value maps to the same string, the resulting JSON object may have fewer fields than the original map.
Attributes
- Companion:
- object
- Source:
- KeyEncoder.scala
- Graph
- Supertypes
- Self type
- KeyEncoder[A]