Object/Trait

com.avsystem.commons.serialization

GenCodec

Related Docs: trait GenCodec | package serialization

Permalink

object GenCodec extends FallbackMapCodecs with TupleGenCodecs

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenCodec
  2. TupleGenCodecs
  3. FallbackMapCodecs
  4. RecursiveAutoCodecs
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final case class Auto[T](codec: GenCodec[T]) extends AnyVal with Product with Serializable

    Permalink
  2. final class Deferred[T] extends DeferredInstance[GenCodec[T]] with GenCodec[T]

    Permalink
  3. trait ErrorReportingCodec[T] extends GenCodec[T]

    Permalink
  4. trait ListCodec[T] extends NullSafeCodec[T]

    Permalink
  5. trait NullSafeCodec[T] extends GenCodec[T]

    Permalink
  6. trait ObjectCodec[T] extends NullSafeCodec[T]

    Permalink
  7. class ReadFailure extends RuntimeException

    Permalink
  8. final class SingletonCodec[T <: Singleton] extends ObjectCodec[T]

    Permalink
  9. class TransformedCodec[A, B] extends GenCodec[A]

    Permalink
  10. implicit final class TraversableOps[A] extends AnyVal

    Permalink
    Attributes
    protected
  11. class WriteFailure extends RuntimeException

    Permalink

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 val BooleanCodec: GenCodec[Boolean]

    Permalink
  5. implicit val ByteArrayCodec: GenCodec[Array[Byte]]

    Permalink
  6. implicit val ByteCodec: GenCodec[Byte]

    Permalink
  7. implicit val CharCodec: GenCodec[Char]

    Permalink
  8. implicit val DoubleCodec: GenCodec[Double]

    Permalink
  9. implicit val FloatCodec: GenCodec[Float]

    Permalink
  10. implicit val IntCodec: GenCodec[Int]

    Permalink
  11. implicit val JBooleanCodec: GenCodec[jiop.BasicJavaInterop.JBoolean]

    Permalink
  12. implicit val JByteCodec: GenCodec[jiop.BasicJavaInterop.JByte]

    Permalink
  13. implicit val JCharacterCodec: GenCodec[jiop.BasicJavaInterop.JCharacter]

    Permalink
  14. implicit val JDateCodec: GenCodec[jiop.BasicJavaInterop.JDate]

    Permalink
  15. implicit val JDoubleCodec: GenCodec[jiop.BasicJavaInterop.JDouble]

    Permalink
  16. implicit val JFloatCodec: GenCodec[jiop.BasicJavaInterop.JFloat]

    Permalink
  17. implicit val JIntegerCodec: GenCodec[jiop.BasicJavaInterop.JInteger]

    Permalink
  18. implicit val JLongCodec: GenCodec[jiop.BasicJavaInterop.JLong]

    Permalink
  19. implicit val JShortCodec: GenCodec[jiop.BasicJavaInterop.JShort]

    Permalink
  20. implicit val LongCodec: GenCodec[Long]

    Permalink
  21. implicit val NothingCodec: GenCodec[Nothing]

    Permalink
  22. implicit val NullCodec: GenCodec[Null]

    Permalink
  23. implicit val ShortCodec: GenCodec[Short]

    Permalink
  24. implicit val StringCodec: GenCodec[String]

    Permalink
  25. implicit val UnitCodec: GenCodec[Unit]

    Permalink
  26. implicit val VoidCodec: GenCodec[Void]

    Permalink
  27. implicit def arrayCodec[T](implicit arg0: ClassTag[T], arg1: GenCodec[T]): GenCodec[Array[T]]

    Permalink
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. macro def auto[T]: GenCodec[T]

    Permalink

    Macro that automatically materializes a GenCodec for some type T, which must be one of:

    Macro that automatically materializes a GenCodec for some type T, which must be one of:

    • singleton type, e.g. an object
    • case class whose every field type has its own GenCodec
    • (generalization of case classes) class or trait whose companion object has a pair of case-class-like apply and unapply methods and every parameter type of apply method has its own GenCodec
    • sealed hierarchy in which every non-abstract subclass either has its own GenCodec or it can be automatically materialized with the same mechanism
  30. def autoRead[T](input: Input)(implicit autoCodec: Auto[T]): T

    Permalink
  31. def autoWrite[T](output: Output, value: T)(implicit autoCodec: Auto[T]): Unit

    Permalink
  32. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def create[T](readFun: (Input) ⇒ T, writeFun: (Output, T) ⇒ Any): GenCodec[T]

    Permalink
  34. def createList[T >: Null](readFun: (ListInput) ⇒ T, writeFun: (ListOutput, T) ⇒ Any): ListCodec[T]

    Permalink
  35. def createNullSafe[T >: Null](readFun: (Input) ⇒ T, writeFun: (Output, T) ⇒ Any): GenCodec[T]

    Permalink
  36. def createObject[T >: Null](readFun: (ObjectInput) ⇒ T, writeFun: (ObjectOutput, T) ⇒ Any): ObjectCodec[T]

    Permalink
  37. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. implicit def fallbackJMapCodec[M[X, Y] >: Null <: jiop.BasicJavaInterop.JMap[X, Y], K, V](implicit arg0: GenCodec[K], arg1: GenCodec[V], cbf: JCanBuildFrom[(K, V), M[K, V]]): GenCodec[M[K, V] with jiop.BasicJavaInterop.JMap[K, V]]

    Permalink
    Definition Classes
    FallbackMapCodecs
  40. implicit def fallbackMapCodec[M[X, Y] >: Null <: BMap[X, Y], K, V](implicit arg0: GenCodec[K], arg1: GenCodec[V], cbf: CanBuildFrom[Nothing, (K, V), M[K, V]]): GenCodec[M[K, V] with BMap[K, V]]

    Permalink
    Definition Classes
    FallbackMapCodecs
  41. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def fromKeyCodec[T](implicit keyCodec: GenKeyCodec[T]): GenCodec[T]

    Permalink
  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  44. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  45. implicit macro def implicitRecursiveAuto[T](implicit allow: AutoDeriveRecursively[GenCodec]): GenCodec[T]

    Permalink
    Definition Classes
    RecursiveAutoCodecs
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. implicit def jCollectionCodec[C[X] >: Null <: jiop.BasicJavaInterop.JCollection[X], T](implicit arg0: GenCodec[T], cbf: JCanBuildFrom[T, C[T]]): GenCodec[C[T] with jiop.BasicJavaInterop.JCollection[T]]

    Permalink
  48. implicit def jMapCodec[M[X, Y] >: Null <: jiop.BasicJavaInterop.JMap[X, Y], K, V](implicit arg0: GenKeyCodec[K], arg1: GenCodec[V], cbf: JCanBuildFrom[(K, V), M[K, V]]): GenCodec[M[K, V] with jiop.BasicJavaInterop.JMap[K, V]]

    Permalink
  49. implicit def mapCodec[M[X, Y] >: Null <: BMap[X, Y], K, V](implicit arg0: GenKeyCodec[K], arg1: GenCodec[V], cbf: CanBuildFrom[Nothing, (K, V), M[K, V]]): GenCodec[M[K, V] with BMap[K, V]]

    Permalink
  50. implicit def nOptCodec[T](implicit arg0: GenCodec[T]): GenCodec[NOpt[T]]

    Permalink
  51. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  54. implicit def optCodec[T](implicit arg0: GenCodec[T]): GenCodec[Opt[T]]

    Permalink
  55. implicit def optRefCodec[T >: Null](implicit arg0: GenCodec[T]): GenCodec[OptRef[T]]

    Permalink
  56. implicit def optionCodec[T](implicit arg0: GenCodec[T]): GenCodec[Option[T]]

    Permalink
  57. def read[T](input: Input)(implicit codec: GenCodec[T]): T

    Permalink
  58. macro def recursiveAuto[T]: GenCodec[T]

    Permalink
    Definition Classes
    RecursiveAutoCodecs
  59. implicit def seqCodec[C[X] >: Null <: BSeq[X], T](implicit arg0: GenCodec[T], cbf: CanBuildFrom[Nothing, T, C[T]]): GenCodec[C[T] with BSeq[T]]

    Permalink
  60. implicit def setCodec[C[X] >: Null <: BSet[X], T](implicit arg0: GenCodec[T], cbf: CanBuildFrom[Nothing, T, C[T]]): GenCodec[C[T] with BSet[T]]

    Permalink
  61. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  63. implicit def tuple10Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

    Permalink
    Definition Classes
    TupleGenCodecs
  64. implicit def tuple11Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

    Permalink
    Definition Classes
    TupleGenCodecs
  65. implicit def tuple12Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

    Permalink
    Definition Classes
    TupleGenCodecs
  66. implicit def tuple13Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]

    Permalink
    Definition Classes
    TupleGenCodecs
  67. implicit def tuple14Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]

    Permalink
    Definition Classes
    TupleGenCodecs
  68. implicit def tuple15Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]

    Permalink
    Definition Classes
    TupleGenCodecs
  69. implicit def tuple16Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]

    Permalink
    Definition Classes
    TupleGenCodecs
  70. implicit def tuple17Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16], r17: GenCodec[T17]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]

    Permalink
    Definition Classes
    TupleGenCodecs
  71. implicit def tuple18Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16], r17: GenCodec[T17], r18: GenCodec[T18]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]

    Permalink
    Definition Classes
    TupleGenCodecs
  72. implicit def tuple19Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16], r17: GenCodec[T17], r18: GenCodec[T18], r19: GenCodec[T19]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]

    Permalink
    Definition Classes
    TupleGenCodecs
  73. implicit def tuple20Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16], r17: GenCodec[T17], r18: GenCodec[T18], r19: GenCodec[T19], r20: GenCodec[T20]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]

    Permalink
    Definition Classes
    TupleGenCodecs
  74. implicit def tuple21Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16], r17: GenCodec[T17], r18: GenCodec[T18], r19: GenCodec[T19], r20: GenCodec[T20], r21: GenCodec[T21]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)]

    Permalink
    Definition Classes
    TupleGenCodecs
  75. implicit def tuple22Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9], r10: GenCodec[T10], r11: GenCodec[T11], r12: GenCodec[T12], r13: GenCodec[T13], r14: GenCodec[T14], r15: GenCodec[T15], r16: GenCodec[T16], r17: GenCodec[T17], r18: GenCodec[T18], r19: GenCodec[T19], r20: GenCodec[T20], r21: GenCodec[T21], r22: GenCodec[T22]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)]

    Permalink
    Definition Classes
    TupleGenCodecs
  76. implicit def tuple2Codec[T1, T2](implicit r1: GenCodec[T1], r2: GenCodec[T2]): GenCodec[(T1, T2)]

    Permalink
    Definition Classes
    TupleGenCodecs
  77. implicit def tuple3Codec[T1, T2, T3](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3]): GenCodec[(T1, T2, T3)]

    Permalink
    Definition Classes
    TupleGenCodecs
  78. implicit def tuple4Codec[T1, T2, T3, T4](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4]): GenCodec[(T1, T2, T3, T4)]

    Permalink
    Definition Classes
    TupleGenCodecs
  79. implicit def tuple5Codec[T1, T2, T3, T4, T5](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5]): GenCodec[(T1, T2, T3, T4, T5)]

    Permalink
    Definition Classes
    TupleGenCodecs
  80. implicit def tuple6Codec[T1, T2, T3, T4, T5, T6](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6]): GenCodec[(T1, T2, T3, T4, T5, T6)]

    Permalink
    Definition Classes
    TupleGenCodecs
  81. implicit def tuple7Codec[T1, T2, T3, T4, T5, T6, T7](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7]): GenCodec[(T1, T2, T3, T4, T5, T6, T7)]

    Permalink
    Definition Classes
    TupleGenCodecs
  82. implicit def tuple8Codec[T1, T2, T3, T4, T5, T6, T7, T8](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8)]

    Permalink
    Definition Classes
    TupleGenCodecs
  83. implicit def tuple9Codec[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit r1: GenCodec[T1], r2: GenCodec[T2], r3: GenCodec[T3], r4: GenCodec[T4], r5: GenCodec[T5], r6: GenCodec[T6], r7: GenCodec[T7], r8: GenCodec[T8], r9: GenCodec[T9]): GenCodec[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

    Permalink
    Definition Classes
    TupleGenCodecs
  84. def underlyingCodec(codec: GenCodec[_]): GenCodec[_]

    Permalink
  85. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. implicit macro def wrappedRecursiveAuto[T]: Auto[T]

    Permalink
    Definition Classes
    RecursiveAutoCodecs
  89. def write[T](output: Output, value: T)(implicit codec: GenCodec[T]): Unit

    Permalink

Inherited from TupleGenCodecs

Inherited from FallbackMapCodecs

Inherited from RecursiveAutoCodecs

Inherited from AnyRef

Inherited from Any

Ungrouped