dispatch.classic

json

package json

Visibility
  1. Public
  2. All

Type Members

  1. case class Child [T, E <: Insert[T]] (parent: Option[Obj], self: E) extends Extract[T] with Insert[T] with Product with Serializable

    Extractor that resolves first by its parent extractor, if present.

  2. trait Extract [T] extends AnyRef

    Json Extractor, extracts a value of type T from the given JsValue.

  3. trait ImplicitJsHandlers extends AnyRef

  4. trait Insert [T] extends Extract[T]

    Json Inserter, adds or replaces properties in the given JsValue (error if not a JsObject)

  5. trait Js extends AnyRef

    Namespace and context for Json extraction.

  6. case class JsArray (self: List[JsValue]) extends JsValue with Product with Serializable

  7. case class JsBoolean (b: Boolean) extends JsValue with Product with Serializable

    Attributes
    sealed abstract
  8. class JsHandlers extends AnyRef

  9. trait JsHttp extends ImplicitJsHandlers with Js

  10. case class JsNumber (self: BigDecimal) extends JsValue with Product with Serializable

    This can also be implemented with as a Double, even though BigDecimal is more loyal to the json spec.

  11. case class JsObject (self: Map[JsString, JsValue]) extends JsValue with Product with Serializable

  12. case class JsString (self: String) extends JsValue with Product with Serializable

  13. trait JsValue extends AnyRef

    Attributes
    sealed
  14. class JsonParser extends StdTokenParsers with ImplicitConversions

  15. class Obj extends Child[JsObject, Property[JsObject]]

    Obj extractor, respects current parent context and sets a new context to itself.

  16. case class Property [T] (sym: Symbol, ext: Extract[T]) extends Extract[T] with Insert[T] with Product with Serializable

    Json Property Extractor, extracts a value of type T assigned to the property sym in a given JsObject (checks any JsValue).

Value Members

  1. object Js extends Js

    Factory for JsValues as well as a global access point for implicit functions and values.

  2. object JsFalse extends JsBoolean

  3. object JsHttp extends JsHttp

  4. object JsNull extends JsValue with Product with Serializable

  5. object JsNumber extends Serializable

  6. object JsObject extends Serializable

  7. object JsString extends Serializable

  8. object JsTrue extends JsBoolean

  9. object JsValue extends AnyRef

  10. object JsonParser extends AnyRef