object WritesNull extends OptionHandlers

Option Handlers to write JsNull when handling None Uses readNullable and writeOptionWithNull

Source
JsonConfiguration.scala
Linear Supertypes
OptionHandlers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WritesNull
  2. OptionHandlers
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def formatHandler[T](jsPath: JsPath)(implicit format: Format[T]): OFormat[Option[T]]
    Definition Classes
    OptionHandlers
  2. final def formatHandlerWithDefault[T](jsPath: JsPath, defaultValue: => Option[T])(implicit format: Format[T]): OFormat[Option[T]]
    Definition Classes
    OptionHandlers
  3. def readHandler[T](jsPath: JsPath)(implicit reads: Reads[T]): Reads[Option[T]]
    Definition Classes
    OptionHandlers
  4. def readHandlerWithDefault[T](jsPath: JsPath, defaultValue: => Option[T])(implicit r: Reads[T]): Reads[Option[T]]
    Definition Classes
    OptionHandlers
  5. def writeHandler[T](jsPath: JsPath)(implicit writes: Writes[T]): OWrites[Option[T]]
    Definition Classes
    OptionHandlers