JodaWrites

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

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JodaWrites

Members list

Type members

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

Supertypes
trait Writes[LocalDate]
class Object
trait Matchable
class Any
Self type
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

Supertypes
trait Writes[LocalTime]
class Object
trait Matchable
class Any
Self type
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

Supertypes
trait Writes[DateTime]
class Object
trait Matchable
class Any
Self type
object JodaDateTimeWrites extends Writes[DateTime]

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

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

Attributes

Supertypes
trait Writes[DateTime]
class Object
trait Matchable
class Any
Self type

Value members

Concrete 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

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

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