cc.spray.json

DefaultJsonProtocol

object DefaultJsonProtocol extends DefaultJsonProtocol

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DefaultJsonProtocol
  2. DefaultJsonProtocol
  3. AdditionalFormats
  4. ProductFormats
  5. CollectionFormats
  6. StandardFormats
  7. BasicFormats
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Type Members

  1. class OptionFormat [T] extends JF[Option[T]]

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. object BigDecimalJsonFormat extends JsonFormat[BigDecimal]

    Attributes
    implicit
  7. object BigIntJsonFormat extends JsonFormat[BigInt]

    Attributes
    implicit
  8. object BooleanJsonFormat extends JsonFormat[Boolean]

    Attributes
    implicit
  9. object ByteJsonFormat extends JsonFormat[Byte]

    Attributes
    implicit
  10. object CharJsonFormat extends JsonFormat[Char]

    Attributes
    implicit
  11. object DoubleJsonFormat extends JsonFormat[Double]

    Attributes
    implicit
  12. object FloatJsonFormat extends JsonFormat[Float]

    Attributes
    implicit
  13. object IntJsonFormat extends JsonFormat[Int]

    Attributes
    implicit
  14. object JsValueFormat extends JsonFormat[JsValue]

    Attributes
    implicit
  15. object LongJsonFormat extends JsonFormat[Long]

    Attributes
    implicit
  16. object ShortJsonFormat extends JsonFormat[Short]

    Attributes
    implicit
  17. object StringJsonFormat extends JsonFormat[String]

    Attributes
    implicit
  18. object SymbolJsonFormat extends JsonFormat[Symbol]

    Attributes
    implicit
  19. object UnitJsonFormat extends JsonFormat[Unit]

    Attributes
    implicit
  20. implicit def arrayFormat [T] (implicit arg0: JsonFormat[T], arg1: ClassManifest[T]): JsonFormat[Array[T]] { def write(array: Array[T]): cc.spray.json.JsArray }

    Supplies the JsonFormat for Arrays.

    Supplies the JsonFormat for Arrays.

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  21. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  22. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. implicit def eitherFormat [A, B] (implicit arg0: JF[A], arg1: JF[B]): JF[Either[A, B]]

    Attributes
    implicit
    Definition Classes
    StandardFormats
  24. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  26. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  28. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  29. implicit def immIndexedSeqFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[IndexedSeq[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  30. implicit def immIterableFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Iterable[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  31. implicit def immLinearSeqFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[LinearSeq[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  32. implicit def immSeqFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Seq[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  33. implicit def immSetFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Set[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  34. implicit def indexedSeqFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[IndexedSeq[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  35. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  36. implicit def iterableFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Iterable[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  37. def jsonFormat [T] (reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T]

    Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.

    Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.

    Definition Classes
    AdditionalFormats
  38. def jsonFormat [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, T <: Product] (construct: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String, j: String, k: String, l: String, m: String, n: String, o: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I], arg9: JF[J], arg10: JF[K], arg11: JF[L], arg12: JF[M], arg13: JF[N], arg14: JF[O]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  39. def jsonFormat [A, B, C, D, E, F, G, H, I, J, K, L, M, N, T <: Product] (construct: (A, B, C, D, E, F, G, H, I, J, K, L, M, N) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String, j: String, k: String, l: String, m: String, n: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I], arg9: JF[J], arg10: JF[K], arg11: JF[L], arg12: JF[M], arg13: JF[N]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  40. def jsonFormat [A, B, C, D, E, F, G, H, I, J, K, L, M, T <: Product] (construct: (A, B, C, D, E, F, G, H, I, J, K, L, M) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String, j: String, k: String, l: String, m: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I], arg9: JF[J], arg10: JF[K], arg11: JF[L], arg12: JF[M]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  41. def jsonFormat [A, B, C, D, E, F, G, H, I, J, K, L, T <: Product] (construct: (A, B, C, D, E, F, G, H, I, J, K, L) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String, j: String, k: String, l: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I], arg9: JF[J], arg10: JF[K], arg11: JF[L]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  42. def jsonFormat [A, B, C, D, E, F, G, H, I, J, K, T <: Product] (construct: (A, B, C, D, E, F, G, H, I, J, K) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String, j: String, k: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I], arg9: JF[J], arg10: JF[K]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  43. def jsonFormat [A, B, C, D, E, F, G, H, I, J, T <: Product] (construct: (A, B, C, D, E, F, G, H, I, J) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String, j: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I], arg9: JF[J]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  44. def jsonFormat [A, B, C, D, E, F, G, H, I, T <: Product] (construct: (A, B, C, D, E, F, G, H, I) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String, i: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H], arg8: JF[I]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  45. def jsonFormat [A, B, C, D, E, F, G, H, T <: Product] (construct: (A, B, C, D, E, F, G, H) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String, h: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G], arg7: JF[H]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  46. def jsonFormat [A, B, C, D, E, F, G, T <: Product] (construct: (A, B, C, D, E, F, G) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String, g: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  47. def jsonFormat [A, B, C, D, E, F, T <: Product] (construct: (A, B, C, D, E, F) ⇒ T, a: String, b: String, c: String, d: String, e: String, f: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  48. def jsonFormat [A, B, C, D, E, T <: Product] (construct: (A, B, C, D, E) ⇒ T, a: String, b: String, c: String, d: String, e: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  49. def jsonFormat [A, B, C, D, T <: Product] (construct: (A, B, C, D) ⇒ T, a: String, b: String, c: String, d: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  50. def jsonFormat [A, B, C, T <: Product] (construct: (A, B, C) ⇒ T, a: String, b: String, c: String)(implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  51. def jsonFormat [A, B, T <: Product] (construct: (A, B) ⇒ T, a: String, b: String)(implicit arg0: JF[A], arg1: JF[B]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  52. def jsonFormat [A, T <: Product] (construct: (A) ⇒ T, a: String)(implicit arg0: JF[A]): JF[T] { def write(p: T): cc.spray.json.JsObject }

    Definition Classes
    ProductFormats
  53. def lazyFormat [T] (format: ⇒ JsonFormat[T]): JsonFormat[T] { lazy val delegate: cc.spray.json.JsonFormat[T] }

    Lazy wrapper around serialization.

    Lazy wrapper around serialization. Useful when you want to serialize (mutually) recursive structures.

    Definition Classes
    AdditionalFormats
  54. def lift [T <: AnyRef] (reader: JsonReader[T]): JsonFormat[T]

    Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.

    Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.

    Definition Classes
    AdditionalFormats
  55. def lift [T] (writer: JsonWriter[T]): JsonFormat[T] { def read(value: cc.spray.json.JsValue): Nothing }

    Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.

    Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.

    Definition Classes
    AdditionalFormats
  56. implicit def linearSeqFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[LinearSeq[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  57. implicit def listFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[List[T]] { def write(list: List[T]): cc.spray.json.JsArray }

    Supplies the JsonFormat for Lists.

    Supplies the JsonFormat for Lists.

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  58. implicit def mapFormat [K, V] (implicit arg0: JsonFormat[K], arg1: JsonFormat[V]): JsonFormat[Map[K, V]] { def write(m: Map[K,V]): cc.spray.json.JsObject }

    Supplies the JsonFormat for Maps.

    Supplies the JsonFormat for Maps. The implicitly available JsonFormat for the key type K must always write JsStrings, otherwise a SerializationException will be thrown.

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  59. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  60. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  61. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  62. implicit def optionFormat [T] (implicit arg0: JF[T]): OptionFormat[T]

    Attributes
    implicit
    Definition Classes
    StandardFormats
  63. def productElement2Field [T] (fieldName: String, p: Product, ix: Int, rest: List[JsField] = Nil)(implicit writer: JsonWriter[T]): List[JsField]

    Attributes
    protected
    Definition Classes
    ProductFormats
  64. def safeReader [A] (implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]]

    Wraps an existing JsonReader with Exception protection.

    Wraps an existing JsonReader with Exception protection.

    Definition Classes
    AdditionalFormats
  65. implicit def seqFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Seq[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  66. implicit def setFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Set[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  67. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  68. def toString (): String

    Definition Classes
    AnyRef → Any
  69. implicit def tuple1Format [A] (implicit arg0: JF[A]): JF[(A)]

    Attributes
    implicit
    Definition Classes
    StandardFormats
  70. implicit def tuple2Format [A, B] (implicit arg0: JF[A], arg1: JF[B]): JF[(A, B)] { def write(t: (A, B)): cc.spray.json.JsArray }

    Attributes
    implicit
    Definition Classes
    StandardFormats
  71. implicit def tuple3Format [A, B, C] (implicit arg0: JF[A], arg1: JF[B], arg2: JF[C]): JF[(A, B, C)] { def write(t: (A, B, C)): cc.spray.json.JsArray }

    Attributes
    implicit
    Definition Classes
    StandardFormats
  72. implicit def tuple4Format [A, B, C, D] (implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D]): JF[(A, B, C, D)] { def write(t: (A, B, C, D)): cc.spray.json.JsArray }

    Attributes
    implicit
    Definition Classes
    StandardFormats
  73. implicit def tuple5Format [A, B, C, D, E] (implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E]): JF[(A, B, C, D, E)] { def write(t: (A, B, C, D, E)): cc.spray.json.JsArray }

    Attributes
    implicit
    Definition Classes
    StandardFormats
  74. implicit def tuple6Format [A, B, C, D, E, F] (implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F]): JF[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): cc.spray.json.JsArray }

    Attributes
    implicit
    Definition Classes
    StandardFormats
  75. implicit def tuple7Format [A, B, C, D, E, F, G] (implicit arg0: JF[A], arg1: JF[B], arg2: JF[C], arg3: JF[D], arg4: JF[E], arg5: JF[F], arg6: JF[G]): JF[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): cc.spray.json.JsArray }

    Attributes
    implicit
    Definition Classes
    StandardFormats
  76. implicit def vectorFormat [T] (implicit arg0: JsonFormat[T]): JsonFormat[Vector[T]]

    Attributes
    implicit
    Definition Classes
    CollectionFormats
  77. def viaList [I <: Iterable[T], T] (f: (List[T]) ⇒ I)(implicit arg0: JsonFormat[T]): JsonFormat[I]

    A JsonFormat construction helper that creates a JsonFormat for an Iterable type I from a builder function List => I.

    A JsonFormat construction helper that creates a JsonFormat for an Iterable type I from a builder function List => I.

    Definition Classes
    CollectionFormats
  78. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  79. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  80. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from DefaultJsonProtocol

Inherited from AdditionalFormats

Inherited from ProductFormats

Inherited from CollectionFormats

Inherited from StandardFormats

Inherited from BasicFormats

Inherited from AnyRef

Inherited from Any