Packages

package macros

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. macro class json extends Annotation with StaticAnnotation

    "@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("macro annotation could not be expanded (you cannot use a macro annotation in the same compilation run that defines it)")
  2. macro class jsonDefaults extends Annotation with StaticAnnotation

    "@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("macro annotation could not be expanded (you cannot use a macro annotation in the same compilation run that defines it)")
  3. class jsonMacro extends AnyRef

Value Members

  1. object CrossVersionDefs

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

  2. object jsonDefaultsMacroInstance extends jsonMacro
  3. object jsonMacroInstance extends jsonMacro

Ungrouped