spray

json

package json

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. json
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. case class DeserializationException(msg: String, cause: Throwable = null, fieldNames: List[String] = immutable.this.Nil) extends RuntimeException with Product with Serializable

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

    A JSON array.

  8. sealed abstract class JsBoolean extends JsValue

    JSON Booleans.

  9. type JsField = (String, JsValue)

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

    A JSON number.

  11. case class JsObject(fields: Map[String, JsValue]) 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. sealed abstract class 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. class JsonParser extends AnyRef

  16. trait JsonPrinter extends (JsValue) ⇒ String

    A JsonPrinter serializes a JSON AST to a String.

  17. trait JsonReader[T] extends AnyRef

    Provides the JSON deserialization for type T.

  18. trait JsonWriter[T] extends AnyRef

    Provides the JSON serialization for type T.

  19. trait NullOptions extends ProductFormats

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

  20. trait ParserInput extends AnyRef

  21. trait PrettyPrinter extends JsonPrinter

    A JsonPrinter that produces a nicely readable JSON source.

  22. trait ProductFormats extends ProductFormatsInstances

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

  23. trait ProductFormatsInstances extends AnyRef

  24. trait RootJsonFormat[T] extends JsonFormat[T] with RootJsonReader[T] with RootJsonWriter[T]

    A special JsonFormat signaling that the format produces a legal JSON root object, i.

  25. trait RootJsonReader[T] extends JsonReader[T]

    A special JsonReader capable of reading a legal JSON root object, i.

  26. trait RootJsonWriter[T] extends JsonWriter[T]

    A special JsonWriter capable of writing a legal JSON root object, i.

  27. class SerializationException extends RuntimeException

  28. trait SortedPrinter extends PrettyPrinter

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

  5. object JsFalse extends JsBoolean with Product with Serializable

  6. object JsNull extends JsValue with Product with Serializable

    The representation for JSON null.

  7. object JsNumber extends Serializable

  8. object JsObject extends Serializable

  9. object JsString extends Serializable

  10. object JsTrue extends JsBoolean with Product with Serializable

  11. object JsonParser

    Fast, no-dependency parser for JSON as defined by http://tools.

  12. object JsonPrinter

  13. object JsonReader

  14. object JsonWriter

  15. object ParserInput

  16. object PrettyPrinter extends PrettyPrinter

  17. object ProductFormats

  18. object SortedPrinter extends SortedPrinter

  19. def deserializationError(msg: String, cause: Throwable = null, fieldNames: List[String] = Nil): Nothing

  20. implicit def enrichAny[T](any: T): RichAny[T]

  21. implicit def enrichString(string: String): RichString

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

  23. def jsonWriter[T](implicit writer: JsonWriter[T]): JsonWriter[T]

  24. def serializationError(msg: String): Nothing

Deprecated Value Members

  1. def pimpAny[T](any: T): PimpedAny[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.4) use enrichAny

  2. def pimpString(string: String): PimpedString

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.4) use enrichString

Inherited from AnyRef

Inherited from Any

Ungrouped