UuidWrites

play.api.libs.json.DefaultWrites.UuidWrites$
object UuidWrites extends Writes[UUID]

Serializer for java.util.UUID

Attributes

Graph
Supertypes
trait Writes[UUID]
class Object
trait Matchable
class Any
Self type
UuidWrites.type

Members list

Value members

Concrete methods

def writes(u: UUID): JsValue

Converts the A value into a JsValue.

Converts the A value into a JsValue.

Attributes

Inherited methods

def contramap[B](f: B => UUID): 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.

Attributes

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

Narrows to any B super-type of A.

Narrows to any B super-type of A.

Attributes

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

Transforms the resulting JsValue using a Writes[JsValue].

Transforms the resulting JsValue using a Writes[JsValue].

Attributes

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

Transforms the resulting JsValue using transformer function.

Transforms the resulting JsValue using transformer function.

Attributes

Inherited from:
Writes