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 Insert[T] extends Extract[T]

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

  4. trait Js extends AnyRef

    Namespace and context for Json extraction.

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

  6. sealed abstract case class JsBoolean(b: Boolean) extends JsValue with Product with Serializable

  7. 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.

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

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

  10. sealed trait JsValue extends AnyRef

  11. class JsonParser extends StdTokenParsers with ImplicitConversions

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

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

  13. 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 JsNull extends JsValue with Product with Serializable

  4. object JsNumber extends Serializable

  5. object JsObject extends Serializable

  6. object JsString extends Serializable

  7. object JsTrue extends JsBoolean

  8. object JsValue

  9. object JsonParser

Ungrouped