WritesNull

object WritesNull extends OptionHandlers

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

class Object
trait Matchable
class Any

Value members

Concrete methods

def readHandler[T](jsPath: JsPath)(implicit reads: Reads[T]): Reads[Option[T]]
def writeHandler[T](jsPath: JsPath)(implicit writes: Writes[T]): OWrites[Option[T]]

Inherited methods

final def formatHandler[T](jsPath: JsPath)(implicit format: Format[T]): OFormat[Option[T]]
Inherited from
OptionHandlers
final def formatHandlerWithDefault[T](jsPath: JsPath, defaultValue: => Option[T])(implicit format: Format[T]): OFormat[Option[T]]
Inherited from
OptionHandlers
def readHandlerWithDefault[T](jsPath: JsPath, defaultValue: => Option[T])(implicit r: Reads[T]): Reads[Option[T]]
Inherited from
OptionHandlers