JodaWrites

play.api.libs.json.JodaWrites
See theJodaWrites companion trait
object JodaWrites extends JodaWrites

Attributes

Companion
trait
Graph
Supertypes
trait JodaWrites
class Object
trait Matchable
class Any
Self type
JodaWrites.type

Members list

Type members

Inherited classlikes

object DefaultJodaLocalDateWrites extends Writes[LocalDate]

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

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

Attributes

Inherited from:
JodaWrites
Supertypes
trait Writes[LocalDate]
class Object
trait Matchable
class Any
object DefaultJodaLocalTimeWrites extends Writes[LocalTime]

Default Serializer LocalDate -> JsString(ISO8601 format (HH:mm:ss.SSS))

Default Serializer LocalDate -> JsString(ISO8601 format (HH:mm:ss.SSS))

Attributes

Inherited from:
JodaWrites
Supertypes
trait Writes[LocalTime]
class Object
trait Matchable
class Any
object JodaDateTimeNumberWrites extends Writes[DateTime]

Serializer DateTime -> JsNumber(d.getMillis (number of milliseconds since the Epoch))

Serializer DateTime -> JsNumber(d.getMillis (number of milliseconds since the Epoch))

Attributes

Inherited from:
JodaWrites
Supertypes
trait Writes[DateTime]
class Object
trait Matchable
class Any
object JodaDateTimeWrites extends Writes[DateTime]

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

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

Attributes

Inherited from:
JodaWrites
Supertypes
trait Writes[DateTime]
class Object
trait Matchable
class Any

Value members

Inherited methods

def jodaDateWrites(pattern: String): Writes[DateTime]

Serializer for DateTime

Serializer for DateTime

Value parameters

pattern

the pattern used by org.joda.time.format.DateTimeFormat

Attributes

Inherited from:
JodaWrites
def jodaLocalDateWrites(pattern: String): Writes[LocalDate]

Serializer for LocalDate

Serializer for LocalDate

Value parameters

pattern

the pattern used by org.joda.time.format.DateTimeFormat

Attributes

Inherited from:
JodaWrites
def jodaLocalTimeWrites(pattern: String): Writes[LocalTime]

Serializer for LocalTime

Serializer for LocalTime

Value parameters

pattern

the pattern used by org.joda.time.format.DateTimeFormat

Attributes

Inherited from:
JodaWrites