cc.spray

json

package json

Visibility
  1. Public
  2. All

Type Members

  1. trait AdditionalFormats extends AnyRef

    Provides additional JsonFormats and helpers

  2. trait BasicFormats extends AnyRef

    Provides the JsonFormats for the most important Scala types.

  3. trait CollectionFormats extends AnyRef

  4. trait CompactPrinter extends JsonPrinter

    A JsonPrinter that produces compact JSON source without any superfluous whitespace.

  5. trait DefaultJsonProtocol extends BasicFormats with StandardFormats with CollectionFormats with ProductFormats with AdditionalFormats

    Provides all the predefined JsonFormats.

  6. class DeserializationException extends RuntimeException

  7. case class JsArray (elements: List[JsValue]) extends JsValue with Product with Serializable

    A JSON array.

  8. trait JsBoolean extends JsValue

    JSON Booleans.

  9. case class JsField (name: String, value: JsValue) extends JsValue with Product with Serializable

    The members/fields of a JSON object.

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

    A JSON number.

  11. case class JsObject (fields: List[JsField]) extends JsValue with Product with Serializable

    A JSON object.

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

    A JSON string.

  13. trait JsValue extends AnyRef

    The general type of a JSON AST node.

  14. trait JsonFormat [T] extends JsonReader[T] with JsonWriter[T]

    Provides the JSON deserialization and serialization for type T.

  15. trait JsonPrinter extends (JsValue) ⇒ String

    A JsonPrinter serializes a JSON AST to a String.

  16. trait JsonReader [T] extends AnyRef

    Provides the JSON deserialization for type T.

  17. trait JsonWriter [T] extends AnyRef

    Provides the JSON serialization for type T.

  18. trait NullOptions extends ProductFormats

    This trait supplies an alternative rendering mode for optional case class members.

  19. trait PrettyPrinter extends JsonPrinter

    A JsonPrinter that produces a nicely readable JSON source.

  20. trait ProductFormats extends AnyRef

    Provides the helpers for constructing custom JsonFormat implementations for types implementing the Product trait (especially case classes)

  21. class SerializationException extends RuntimeException

  22. trait StandardFormats extends AnyRef

    Provides the JsonFormats for the non-collection standard types.

Value Members

  1. object CompactPrinter extends CompactPrinter

  2. object DefaultJsonProtocol extends DefaultJsonProtocol

  3. object JsArray extends Serializable

  4. object JsBoolean extends AnyRef

  5. object JsFalse extends JsBoolean with Product with Serializable

  6. object JsField extends Serializable

  7. object JsNull extends JsValue with Product with Serializable

    The representation for JSON null.

  8. object JsNumber extends Serializable

  9. object JsObject extends Serializable

  10. object JsTrue extends JsBoolean with Product with Serializable

  11. object JsValue extends AnyRef

  12. object JsonParser extends Parser

    This JSON parser is the almost direct implementation of the JSON grammar presented at http://www.

  13. object JsonReader extends AnyRef

  14. object JsonWriter extends AnyRef

  15. object PrettyPrinter extends PrettyPrinter

  16. def jsonReader [T] (implicit reader: JsonReader[T]): JsonReader[T]

    Definition Classes
    package
  17. def jsonWriter [T] (implicit writer: JsonWriter[T]): JsonWriter[T]

    Definition Classes
    package
  18. implicit def pimpAny [T] (any: T): PimpedAny[T]

    Attributes
    implicit
    Definition Classes
    package