JsonObjOps

zio.json.ast.`package`.JsonObjOps
final implicit class JsonObjOps(json: Obj) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def add(name: String, value: Json): Obj
def add(values: (String, Json)*): Obj
def add(name: String, value: Either[String, Json]): Obj
def contains(name: String): Boolean
def get[T : JsonDecoder](name: String): Either[String, T]
def getEither[T : JsonDecoder](name: String): Either[String, T]
def getEitherOption[T : JsonDecoder](name: String): Either[String, Option[T]]
def getOption[T : JsonDecoder](name: String): Option[T]
def isEmpty: Boolean
def keys: Chunk[String]
def notEmpty: Boolean
def remove(name: String): Obj