Package

com.github.vitalsoftware

macros

Permalink

package macros

Visibility
  1. Public
  2. All

Type Members

  1. macro class json extends Annotation with StaticAnnotation

    Permalink

    "@json" macro annotation for case classes

    "@json" macro annotation for case classes

    This macro annotation automatically creates a JSON serializer for the annotated case class. The companion object will be automatically created if it does not already exist.

    Annotations
    @compileTimeOnly( ... )
  2. macro class jsonDefaults extends Annotation with StaticAnnotation

    Permalink

    "@jsonDefaults" macro annotation for case classes

    "@jsonDefaults" macro annotation for case classes

    Same as "@json" annotation, except that it uses Json.using[Json.WithDefaultValues] to allow default values to be used for non-optional fields if they are not present during Reads[T].

    Annotations
    @compileTimeOnly( ... )
  3. class jsonMacro extends AnyRef

    Permalink

Value Members

  1. object CrossVersionDefs

    Permalink

    Context has been deprecated in Scala 2.11, blackbox.Context is used instead

  2. object jsonDefaultsMacroInstance extends jsonMacro

    Permalink
  3. object jsonMacroInstance extends jsonMacro

    Permalink

Ungrouped