DefaultJodaLocalDateWrites

object DefaultJodaLocalDateWrites extends Writes[LocalDate]

Default Serializer LocalDate -> JsString(ISO8601 format (yyyy-MM-dd))

trait Writes[LocalDate]
class Object
trait Matchable
class Any

Value members

Concrete methods

def writes(d: LocalDate): JsValue

Inherited methods

def contramap[B](f: B => LocalDate): Writes[B]

Returns a new instance that first converts a B value to a A one, before converting this A value into a JsValue.

Returns a new instance that first converts a B value to a A one, before converting this A value into a JsValue.

Inherited from:
Writes
def narrow[B <: LocalDate]: Writes[B]

Narrows to any B super-type of A.

Narrows to any B super-type of A.

Inherited from:
Writes
def transform(transformer: Writes[JsValue]): Writes[LocalDate]

Transforms the resulting JsValue using a Writes[JsValue].

Transforms the resulting JsValue using a Writes[JsValue].

Inherited from:
Writes
def transform(transformer: JsValue => JsValue): Writes[LocalDate]

Transforms the resulting JsValue using transformer function.

Transforms the resulting JsValue using transformer function.

Inherited from:
Writes