Object/Trait

spray.json

DefaultJsonProtocol

Related Docs: trait DefaultJsonProtocol | package json

Permalink

object DefaultJsonProtocol extends DefaultJsonProtocol

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

Type Members

  1. class OptionFormat[T] extends (StandardFormats.this)#JF[Option[T]]

    Permalink
    Definition Classes
    StandardFormats

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object BigDecimalJsonFormat extends JsonFormat[BigDecimal]

    Permalink
    Definition Classes
    BasicFormats
  5. implicit object BigIntJsonFormat extends JsonFormat[BigInt]

    Permalink
    Definition Classes
    BasicFormats
  6. implicit object BooleanJsonFormat extends JsonFormat[Boolean]

    Permalink
    Definition Classes
    BasicFormats
  7. implicit object ByteJsonFormat extends JsonFormat[Byte]

    Permalink
    Definition Classes
    BasicFormats
  8. implicit object CharJsonFormat extends JsonFormat[Char]

    Permalink
    Definition Classes
    BasicFormats
  9. implicit object DoubleJsonFormat extends JsonFormat[Double]

    Permalink
    Definition Classes
    BasicFormats
  10. implicit object FloatJsonFormat extends JsonFormat[Float]

    Permalink
    Definition Classes
    BasicFormats
  11. implicit object IntJsonFormat extends JsonFormat[Int]

    Permalink
    Definition Classes
    BasicFormats
  12. implicit object JsValueFormat extends JsonFormat[JsValue]

    Permalink
    Definition Classes
    AdditionalFormats
  13. implicit object LongJsonFormat extends JsonFormat[Long]

    Permalink
    Definition Classes
    BasicFormats
  14. implicit object RootJsArrayFormat extends RootJsonFormat[JsArray]

    Permalink
    Definition Classes
    AdditionalFormats
  15. implicit object RootJsObjectFormat extends RootJsonFormat[JsObject]

    Permalink
    Definition Classes
    AdditionalFormats
  16. implicit object ShortJsonFormat extends JsonFormat[Short]

    Permalink
    Definition Classes
    BasicFormats
  17. implicit object StringJsonFormat extends JsonFormat[String]

    Permalink
    Definition Classes
    BasicFormats
  18. implicit object SymbolJsonFormat extends JsonFormat[Symbol]

    Permalink
    Definition Classes
    BasicFormats
  19. implicit object UnitJsonFormat extends JsonFormat[Unit]

    Permalink
    Definition Classes
    BasicFormats
  20. implicit def arrayFormat[T](implicit arg0: JsonFormat[T], arg1: ClassTag[T]): RootJsonFormat[Array[T]] { def write(array: Array[T]): spray.json.JsArray }

    Permalink

    Supplies the JsonFormat for Arrays.

    Supplies the JsonFormat for Arrays.

    Definition Classes
    CollectionFormats
  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def clone(): AnyRef

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

    Permalink
    Definition Classes
    StandardFormats
  24. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def fromField[T](value: JsValue, fieldName: String)(implicit reader: JsonReader[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    ProductFormats
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  29. implicit def immIndexedSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[IndexedSeq[T]]

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

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

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

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

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

    Permalink
    Definition Classes
    CollectionFormats
  35. final def isInstanceOf[T0]: Boolean

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

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

    Permalink

    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[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21], arg21: JF[P22]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  39. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20], arg20: JF[P21]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  40. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19], arg19: JF[P20]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  41. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18], arg18: JF[P19]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  42. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17], arg17: JF[P18]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  43. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16], arg16: JF[P17]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  44. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15], arg15: JF[P16]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  45. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14], arg14: JF[P15]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  46. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13], arg13: JF[P14]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  47. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12], arg12: JF[P13]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  48. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11], arg11: JF[P12]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  49. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10], arg10: JF[P11]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  50. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9], arg9: JF[P10]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  51. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, P9, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8], arg8: JF[P9]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  52. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, P8, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7], arg7: JF[P8]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  53. def jsonFormat[P1, P2, P3, P4, P5, P6, P7, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6], arg6: JF[P7]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  54. def jsonFormat[P1, P2, P3, P4, P5, P6, T <: Product](construct: (P1, P2, P3, P4, P5, P6) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5], arg5: JF[P6]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  55. def jsonFormat[P1, P2, P3, P4, P5, T <: Product](construct: (P1, P2, P3, P4, P5) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4], arg4: JF[P5]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  56. def jsonFormat[P1, P2, P3, P4, T <: Product](construct: (P1, P2, P3, P4) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3], arg3: JF[P4]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  57. def jsonFormat[P1, P2, P3, T <: Product](construct: (P1, P2, P3) ⇒ T, fieldName1: String, fieldName2: String, fieldName3: String)(implicit arg0: JF[P1], arg1: JF[P2], arg2: JF[P3]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  58. def jsonFormat[P1, P2, T <: Product](construct: (P1, P2) ⇒ T, fieldName1: String, fieldName2: String)(implicit arg0: JF[P1], arg1: JF[P2]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  59. def jsonFormat[P1, T <: Product](construct: (P1) ⇒ T, fieldName1: String)(implicit arg0: JF[P1]): RootJsonFormat[T]

    Permalink
    Definition Classes
    ProductFormatsInstances
  60. def jsonFormat0[T](construct: () ⇒ T): RootJsonFormat[T]

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

    Permalink

    Lazy wrapper around serialization.

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

    Definition Classes
    AdditionalFormats
  62. def lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T]

    Permalink

    Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.

    Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.

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

    Permalink

    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
  64. def lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T]

    Permalink

    Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.

    Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.

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

    Permalink

    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
  66. implicit def linearSeqFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[LinearSeq[T]]

    Permalink
    Definition Classes
    CollectionFormats
  67. implicit def listFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[List[T]] { def write(list: List[T]): spray.json.JsArray }

    Permalink

    Supplies the JsonFormat for Lists.

    Supplies the JsonFormat for Lists.

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

    Permalink

    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 spray.json.SerializationException will be thrown.

    Definition Classes
    CollectionFormats
  69. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  70. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  71. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  72. implicit def optionFormat[T](implicit arg0: JF[T]): JF[Option[T]]

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

    Permalink
    Attributes
    protected
    Definition Classes
    ProductFormats
  74. def rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T]

    Permalink

    Explicitly turns a JsonFormat into a RootJsonFormat.

    Explicitly turns a JsonFormat into a RootJsonFormat.

    Definition Classes
    AdditionalFormats
  75. def rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T]

    Permalink

    Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.

    Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.

    Definition Classes
    AdditionalFormats
  76. def safeReader[A](implicit arg0: JsonReader[A]): JsonReader[Either[Exception, A]]

    Permalink

    Wraps an existing JsonReader with Exception protection.

    Wraps an existing JsonReader with Exception protection.

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

    Permalink
    Definition Classes
    CollectionFormats
  78. implicit def setFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Set[T]]

    Permalink
    Definition Classes
    CollectionFormats
  79. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  80. def toString(): String

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

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

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

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

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

    Permalink
    Definition Classes
    StandardFormats
  86. 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]): RootJsonFormat[(A, B, C, D, E, F)] { def write(t: (A, B, C, D, E, F)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  87. 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]): RootJsonFormat[(A, B, C, D, E, F, G)] { def write(t: (A, B, C, D, E, F, G)): spray.json.JsArray }

    Permalink
    Definition Classes
    StandardFormats
  88. implicit def vectorFormat[T](implicit arg0: JsonFormat[T]): RootJsonFormat[Vector[T]]

    Permalink
    Definition Classes
    CollectionFormats
  89. def viaSeq[I <: Iterable[T], T](f: (Seq[T]) ⇒ I)(implicit arg0: JsonFormat[T]): RootJsonFormat[I]

    Permalink

    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
  90. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from DefaultJsonProtocol

Inherited from AdditionalFormats

Inherited from ProductFormats

Inherited from ProductFormatsInstances

Inherited from CollectionFormats

Inherited from StandardFormats

Inherited from BasicFormats

Inherited from AnyRef

Inherited from Any

Ungrouped