Class

argus.macros

CirceCodecBuilder

Related Doc: package macros

Permalink

class CirceCodecBuilder[U <: Universe] extends CodecBuilder

Linear Supertypes
CodecBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CirceCodecBuilder
  2. CodecBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CirceCodecBuilder(u: U)

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. val helpers: ASTHelpers[u.type]

    Permalink
    Definition Classes
    CodecBuilder
  12. val imports: List[U.Import]

    Permalink

    Imports to place at start of generated code (i.e.

    Imports to place at start of generated code (i.e. io.circe._ )

    Definition Classes
    CirceCodecBuilderCodecBuilder
  13. def inDecoder(typ: U.Tree): U.Tree

    Permalink
    Definition Classes
    CirceCodecBuilderCodecBuilder
  14. def inEncoder(typ: U.Tree): U.Tree

    Permalink
    Definition Classes
    CirceCodecBuilderCodecBuilder
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mkCodec(defs: List[U.Tree], path: List[String] = Nil): List[U.Tree]

    Permalink
    Definition Classes
    CodecBuilder
  17. def mkDecoder(path: List[String], typ: U.TypeName, params: List[U.Tree]): U.Tree

    Permalink

    Builds an Json decoder expression using Circe

    Builds an Json decoder expression using Circe

    path

    For type that are nested within objects, path to them

    typ

    The typ of the class that is decoded

    params

    The parameters of the class

    Definition Classes
    CirceCodecBuilderCodecBuilder
  18. def mkDecoderValDef(path: List[String], typ: U.TypeName, decDef: U.Tree): U.Tree

    Permalink
    Definition Classes
    CodecBuilder
  19. def mkEncoder(path: List[String], typ: U.TypeName, params: List[U.Tree]): U.Tree

    Permalink

    Builds an Json encoder expression using Circe

    Builds an Json encoder expression using Circe

    path

    For type that are nested within objects, path to them

    typ

    The typ of the class that is encoded

    params

    The parameters of the class

    Definition Classes
    CirceCodecBuilderCodecBuilder
  20. def mkEncoderValDef(path: List[String], typ: U.TypeName, encDef: U.Tree): U.Tree

    Permalink
    Definition Classes
    CodecBuilder
  21. def mkEnumDecoder(path: List[String], typ: U.TypeName, subTermPairs: List[(String, U.Tree)]): U.Tree

    Permalink

    Makes decoder instance definition for decoding enum types (without assigning it to a val)

    Makes decoder instance definition for decoding enum types (without assigning it to a val)

    path

    Path containing the enum

    typ

    The super type that is used to group all the enums

    subTermPairs

    A list of tuples containing the jsonStr (which encodes the value of the enum) and the TermName (which encodes the singleton of the enum).

    Definition Classes
    CirceCodecBuilderCodecBuilder
  22. def mkEnumEncoder(path: List[String], typ: U.TypeName, subTermPairs: List[(String, U.Tree)]): U.Tree

    Permalink

    Makes encoder instance definition for encoding enum types (without assigning it to a val)

    Makes encoder instance definition for encoding enum types (without assigning it to a val)

    path

    Path containing the enum

    typ

    The super type that is used to group all the enums

    subTermPairs

    A list of tuples containing the jsonStr (which encodes the value of the enum) and the TermName (which encodes the singleton of the enum).

    Definition Classes
    CirceCodecBuilderCodecBuilder
  23. def mkUnionDecoder(path: List[String], typ: U.TypeName, subTypes: List[(U.Tree, U.Tree)]): U.Tree

    Permalink

    Makes decoder instance definition for decoding union types (without assigning it to a val)

    Makes decoder instance definition for decoding union types (without assigning it to a val)

    path

    Path containing the enum

    typ

    The super type that is used to group all the enums

    subTypes

    A list of tuples containing the rawType (i.e. Int) and the union wrapper type (i.e. FooInt)

    Definition Classes
    CirceCodecBuilderCodecBuilder
  24. def mkUnionEncoder(path: List[String], typ: U.TypeName, subTypes: List[(U.Tree, U.Tree)]): U.Tree

    Permalink

    Makes encoder instance definition for encoding union types (without assigning it to a val)

    Makes encoder instance definition for encoding union types (without assigning it to a val)

    path

    Path containing the enum

    typ

    The super type that is used to group all the enums

    subTypes

    A list of tuples containing the rawType (i.e. Int) and the union wrapper type (i.e. FooInt)

    Definition Classes
    CirceCodecBuilderCodecBuilder
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. val u: U

    Permalink
    Definition Classes
    CirceCodecBuilderCodecBuilder
  31. final def wait(): Unit

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

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

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

Inherited from CodecBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped