package
lenses
Type Members
-
-
case class
GetOrThrow[B](e: Either[Throwable, B]) extends Product with Serializable
-
type
Id[T] = T
-
trait
Join[M1[_], M2[_], R[_]] extends AnyRef
-
type
JsPred = (JsValue) ⇒ Boolean
-
-
trait
Lens[M[_]] extends UpdateLens with ReadLens[M]
-
abstract
class
LensImpl[M[_]] extends Lens[M]
-
type
Operation = (SafeJsValue) ⇒ SafeJsValue
-
trait
Operations extends AnyRef
-
trait
Ops[M[_]] extends AnyRef
-
type
OptLens = Lens[Option]
-
-
trait
ReadLens[M[_]] extends AnyRef
-
trait
Reader[T] extends AnyRef
-
type
SafeJsValue = Either[Exception, JsValue]
-
type
ScalarLens = Lens[Id]
-
-
type
SeqLens = Lens[Seq]
-
trait
SeqLenses extends AnyRef
-
trait
Update extends (JsValue) ⇒ JsValue
-
trait
UpdateLens extends AnyRef
-
case class
ValidateOption[T](option: Option[T]) extends Product with Serializable
-
type
Validated[T] = Either[Exception, T]
Value Members
-
def
???: Nothing
-
object
ExtraImplicits extends ExtraImplicits
-
object
Join extends AnyRef
-
object
JsonLenses extends ScalarLenses with OptionLenses with SeqLenses with Operations with JsonPathIntegration with ExtraImplicits
-
object
JsonPath extends AnyRef
-
-
object
Operations extends Operations with ExtraImplicits
-
object
Ops extends AnyRef
-
object
OptionLenses extends OptionLenses
-
object
Reader extends AnyRef
-
object
ScalarLenses extends ScalarLenses
-
object
SeqLenses extends SeqLenses
-
implicit
def
orThrow[B](e: Either[Throwable, B]): GetOrThrow[B]
-
def
outOfBounds(message: String): Left[IndexOutOfBoundsException, Nothing]
-
implicit
def
rightBiasEither[A, B](e: Either[A, B]): RightProjection[A, B]
-
def
safe[T](body: ⇒ T): Validated[T]
-
def
unexpected(message: String): Left[RuntimeException, Nothing]
-
implicit
def
validateOption[T](o: Option[T]): ValidateOption[T]