dispatch.classic

json

package json

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

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

    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

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

    attributes: sealed abstract
  7. case class JsNumber (self: BigDecimal) extends JsValue with Product

    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

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

  10. trait JsValue extends AnyRef

    attributes: sealed
  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

    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

  4. object JsNumber extends AnyRef

  5. object JsObject extends AnyRef

  6. object JsString extends AnyRef

  7. object JsTrue extends JsBoolean

  8. object JsValue extends AnyRef

  9. object JsonParser extends AnyRef