JsonFieldEncoder

zio.json.JsonFieldEncoder
See theJsonFieldEncoder companion object
trait JsonFieldEncoder[-A]

When encoding a JSON Object, we only allow keys that implement this interface.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def unsafeEncodeField(in: A): String

Concrete methods

final def contramap[B](f: B => A): JsonFieldEncoder[B]