trait DerivedFormats extends AnyRef
Mixin that enables derivation of JSON formats for any product (case classes) or coproduct (sealed traits) types.
- Self Type
- DerivedFormats with BasicFormats
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DerivedFormats
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Typeclass[T] = JsonFormat[T]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def combine[T](ctx: CaseClass[JsonFormat, T]): JsonFormat[T]
- def dispatch[T](ctx: SealedTrait[JsonFormat, T]): JsonFormat[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extractFieldName(paramName: String): String
Convert the name of a parameter to that of a field in a JSON object.
Convert the name of a parameter to that of a field in a JSON object. This method can be overriden to use alternative naming conventions.
- Annotations
- @inline()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- macro def jsonFormat[T]: RootJsonFormat[T]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
printNull: Boolean
Determines if
Noneinstances of options should be included in JSON output.Determines if
Noneinstances of options should be included in JSON output.By default,
Nonevalues are ommitted entirely from resulting JSON objects. If overridden, they will be included asnulls instead.Note that this has no effect in *reading* option types; undefined or null values are always converted to
None. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )