spray.json

lenses

package lenses

Visibility
  1. Public
  2. All

Type Members

  1. trait ExtraImplicits extends AnyRef

  2. case class GetOrThrow[B](e: Either[Throwable, B]) extends Product with Serializable

  3. type Id[T] = T

    Definition Classes
    package
  4. trait Join[M1[_], M2[_], R[_]] extends AnyRef

    This typeclass with its implicit instances decides how two containers should be joined.

  5. type JsPred = (JsValue) ⇒ Boolean

    Definition Classes
    package
  6. trait JsonPathIntegration extends AnyRef

  7. trait Lens[M[_]] extends UpdateLens with ReadLens[M]

    A Lens combines read and update functions of UpdateLens and ReadLens into combinable chunks.

  8. abstract class LensImpl[M[_]] extends Lens[M]

    This implements most of the methods of Lens.

  9. type Operation = (SafeJsValue) ⇒ SafeJsValue

    Definition Classes
    package
  10. trait Operations extends AnyRef

    Defines a set of operations to update Json values.

  11. trait Ops[M[_]] extends AnyRef

    A trait to define common operations for different container types.

  12. type OptLens = Lens[Option]

    Definition Classes
    package
  13. trait OptionLenses extends AnyRef

  14. trait ReadLens[M[_]] extends AnyRef

    The read lens can extract child values out of a JsValue hierarchy.

  15. trait Reader[T] extends AnyRef

  16. type SafeJsValue = Either[Exception, JsValue]

    Definition Classes
    package
  17. type ScalarLens = Lens[Id]

    Definition Classes
    package
  18. trait ScalarLenses extends AnyRef

  19. type SeqLens = Lens[Seq]

    Definition Classes
    package
  20. trait SeqLenses extends AnyRef

  21. trait Update extends (JsValue) ⇒ JsValue

  22. trait UpdateLens extends AnyRef

    The UpdateLens is the central interface for updating a child element somewhere deep down a hierarchy of a JsValue.

  23. case class ValidateOption[T](option: Option[T]) extends Product with Serializable

  24. type Validated[T] = Either[Exception, T]

    Definition Classes
    package

Value Members

  1. def ???: Nothing

    Definition Classes
    package
  2. object ExtraImplicits extends ExtraImplicits

  3. object Join extends AnyRef

  4. object JsonLenses extends ScalarLenses with OptionLenses with SeqLenses with Operations with JsonPathIntegration with ExtraImplicits

    An aggregate option to import all of the functionality of JsonLenses with one import.

  5. object JsonPath extends AnyRef

    The AST for a json-path.

  6. object JsonPathParser extends Parser

    A parser for json-path expression as specified here: http://goessner.net/articles/JsonPath/

  7. object Operations extends Operations with ExtraImplicits

  8. object Ops extends AnyRef

  9. object OptionLenses extends OptionLenses

  10. object Reader extends AnyRef

  11. object ScalarLenses extends ScalarLenses

  12. object SeqLenses extends SeqLenses

  13. implicit def orThrow[B](e: Either[Throwable, B]): GetOrThrow[B]

    Definition Classes
    package
  14. def outOfBounds(message: String): Left[IndexOutOfBoundsException, Nothing]

    Definition Classes
    package
  15. implicit def rightBiasEither[A, B](e: Either[A, B]): RightProjection[A, B]

    Definition Classes
    package
  16. def safe[T](body: ⇒ T): Validated[T]

    Definition Classes
    package
  17. def unexpected(message: String): Left[RuntimeException, Nothing]

    Definition Classes
    package
  18. implicit def validateOption[T](o: Option[T]): ValidateOption[T]

    Definition Classes
    package