play.api.libs.json

Generic

object Generic extends AnyRef

Generic Json formatters to handle Product types.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Generic
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

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. def asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  17. def productFormat10 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ S)(unapply: (S) ⇒ Option[Product10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10]): Format[S]

  18. def productFormat11 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ S)(unapply: (S) ⇒ Option[Product11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11]): Format[S]

  19. def productFormat12 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ S)(unapply: (S) ⇒ Option[Product12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12]): Format[S]

  20. def productFormat13 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ S)(unapply: (S) ⇒ Option[Product13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13]): Format[S]

  21. def productFormat14 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ S)(unapply: (S) ⇒ Option[Product14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14]): Format[S]

  22. def productFormat15 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ S)(unapply: (S) ⇒ Option[Product15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15]): Format[S]

  23. def productFormat16 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String, lbl16: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ S)(unapply: (S) ⇒ Option[Product16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15], f16: Format[T16]): Format[S]

  24. def productFormat17 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String, lbl16: String, lbl17: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ S)(unapply: (S) ⇒ Option[Product17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15], f16: Format[T16], f17: Format[T17]): Format[S]

  25. def productFormat18 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String, lbl16: String, lbl17: String, lbl18: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ S)(unapply: (S) ⇒ Option[Product18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15], f16: Format[T16], f17: Format[T17], f18: Format[T18]): Format[S]

  26. def productFormat19 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String, lbl16: String, lbl17: String, lbl18: String, lbl19: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ S)(unapply: (S) ⇒ Option[Product19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15], f16: Format[T16], f17: Format[T17], f18: Format[T18], f19: Format[T19]): Format[S]

  27. def productFormat2 [S, T1, T2] (lbl1: String, lbl2: String)(apply: (T1, T2) ⇒ S)(unapply: (S) ⇒ Option[Product2[T1, T2]])(implicit f1: Format[T1], f2: Format[T2]): Format[S]

  28. def productFormat20 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String, lbl16: String, lbl17: String, lbl18: String, lbl19: String, lbl20: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ S)(unapply: (S) ⇒ Option[Product20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15], f16: Format[T16], f17: Format[T17], f18: Format[T18], f19: Format[T19], f20: Format[T20]): Format[S]

  29. def productFormat21 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String, lbl10: String, lbl11: String, lbl12: String, lbl13: String, lbl14: String, lbl15: String, lbl16: String, lbl17: String, lbl18: String, lbl19: String, lbl20: String, lbl21: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ S)(unapply: (S) ⇒ Option[Product21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9], f10: Format[T10], f11: Format[T11], f12: Format[T12], f13: Format[T13], f14: Format[T14], f15: Format[T15], f16: Format[T16], f17: Format[T17], f18: Format[T18], f19: Format[T19], f20: Format[T20], f21: Format[T21]): Format[S]

  30. def productFormat3 [S, T1, T2, T3] (lbl1: String, lbl2: String, lbl3: String)(apply: (T1, T2, T3) ⇒ S)(unapply: (S) ⇒ Option[Product3[T1, T2, T3]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3]): Format[S]

  31. def productFormat4 [S, T1, T2, T3, T4] (lbl1: String, lbl2: String, lbl3: String, lbl4: String)(apply: (T1, T2, T3, T4) ⇒ S)(unapply: (S) ⇒ Option[Product4[T1, T2, T3, T4]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4]): Format[S]

  32. def productFormat5 [S, T1, T2, T3, T4, T5] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String)(apply: (T1, T2, T3, T4, T5) ⇒ S)(unapply: (S) ⇒ Option[Product5[T1, T2, T3, T4, T5]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5]): Format[S]

  33. def productFormat6 [S, T1, T2, T3, T4, T5, T6] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String)(apply: (T1, T2, T3, T4, T5, T6) ⇒ S)(unapply: (S) ⇒ Option[Product6[T1, T2, T3, T4, T5, T6]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6]): Format[S]

  34. def productFormat7 [S, T1, T2, T3, T4, T5, T6, T7] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String)(apply: (T1, T2, T3, T4, T5, T6, T7) ⇒ S)(unapply: (S) ⇒ Option[Product7[T1, T2, T3, T4, T5, T6, T7]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7]): Format[S]

  35. def productFormat8 [S, T1, T2, T3, T4, T5, T6, T7, T8] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ S)(unapply: (S) ⇒ Option[Product8[T1, T2, T3, T4, T5, T6, T7, T8]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8]): Format[S]

  36. def productFormat9 [S, T1, T2, T3, T4, T5, T6, T7, T8, T9] (lbl1: String, lbl2: String, lbl3: String, lbl4: String, lbl5: String, lbl6: String, lbl7: String, lbl8: String, lbl9: String)(apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ S)(unapply: (S) ⇒ Option[Product9[T1, T2, T3, T4, T5, T6, T7, T8, T9]])(implicit f1: Format[T1], f2: Format[T2], f3: Format[T3], f4: Format[T4], f5: Format[T5], f6: Format[T6], f7: Format[T7], f8: Format[T8], f9: Format[T9]): Format[S]

  37. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  39. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any