JsonFieldDecoder

zio.json.JsonFieldDecoder
See theJsonFieldDecoder companion object

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

Attributes

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

Members list

Concise view

Value members

Abstract methods

def unsafeDecodeField(trace: List[JsonError], in: String): A

Concrete methods

final def map[B](f: A => B): JsonFieldDecoder[B]
final def mapOrFail[B](f: A => Either[String, B]): JsonFieldDecoder[B]