object HandlerConverters extends HandlerConverters
See compat$ and HandlerConverters
- Alphabetic
- By Inheritance
- HandlerConverters
- HandlerConverters
- LowPriorityHandlerConverters1
- LowPriorityHandlerConverters2
- LowPriorityHandlerConverters3
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit final def fromDocumentHandler[T](h: BSONDocumentHandler[T]): OFormat[T]
Implicit conversion from new
BSONDocumentHandler
to Play JSON.Implicit conversion from new
BSONDocumentHandler
to Play JSON.import reactivemongo.play.json.compat.HandlerConverters.fromDocumentHandler def bar[T](bh: reactivemongo.api.bson.BSONDocumentHandler[T]) = { val h: play.api.libs.json.OFormat[T] = bh h }
- Definition Classes
- HandlerConverters
- implicit final def fromDocumentReader[T](r: BSONDocumentReader[T]): Reads[T]
import reactivemongo.play.json.compat.HandlerConverters.fromDocumentReader def foo[T](r: reactivemongo.api.bson.BSONDocumentReader[T]) = { val jr: play.api.libs.json.Reads[T] = r jr }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def fromDocumentWriter[T](w: BSONDocumentWriter[T]): OWrites[T]
import reactivemongo.play.json.compat.HandlerConverters.fromDocumentWriter def bar[T](lw: reactivemongo.api.bson.BSONDocumentWriter[T]) = { val w: play.api.libs.json.OWrites[T] = lw w }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def fromHandler[T](h: BSONHandler[T]): Format[T]
- Definition Classes
- LowPriorityHandlerConverters1
- implicit final def fromReader[T](r: BSONReader[T]): Reads[T]
- Definition Classes
- LowPriorityHandlerConverters3
- implicit final def fromWriter[T](w: BSONWriter[T]): Writes[T]
- Definition Classes
- LowPriorityHandlerConverters3
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def jsonReaderNewValue[B <: BSONValue, L](implicit r: BSONDocumentReader[B], conv: (B) => L): Reads[L]
Based on the compatibility conversions, provides instances of Play JSON
Reads
for the new BSON value API.Based on the compatibility conversions, provides instances of Play JSON
Reads
for the new BSON value API.- Definition Classes
- HandlerConverters
- implicit def jsonWriterNewValue[B <: BSONValue, L](implicit w: BSONDocumentWriter[B], conv: (L) => B): OWrites[L]
Based on the compatibility conversions, provides instances of Play JSON
OWrites
for the new BSON value API.Based on the compatibility conversions, provides instances of Play JSON
OWrites
for the new BSON value API.- Definition Classes
- HandlerConverters
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit final def toDocumentHandler[T](h: OFormat[T]): BSONDocumentHandler[T]
Implicit conversion from Play JSON
OFormat
to the BSON API.Implicit conversion from Play JSON
OFormat
to the BSON API.import reactivemongo.play.json.compat.HandlerConverters.toDocumentHandler def foo[T](jh: play.api.libs.json.OFormat[T]) = { val h: reactivemongo.api.bson.BSONDocumentHandler[T] = jh h }
- Definition Classes
- HandlerConverters
- implicit final def toDocumentReader[T](implicit r: Reads[T]): BSONDocumentReader[T]
Provided there is a Play JSON
Reads
, resolve a new one.Provided there is a Play JSON
Reads
, resolve a new one.- Definition Classes
- LowPriorityHandlerConverters3
- implicit final def toDocumentReaderConv[T](r: Reads[T]): BSONDocumentReader[T]
import reactivemongo.play.json.compat.HandlerConverters.toDocumentReaderConv def lorem[T](jr: play.api.libs.json.Reads[T]) = { val w: reactivemongo.api.bson.BSONDocumentReader[T] = jr w }
- Definition Classes
- LowPriorityHandlerConverters3
- implicit final def toDocumentWriter[T](implicit w: OWrites[T]): BSONDocumentWriter[T]
Provided there is a Play JSON
OWrites
, resolve a new one.Provided there is a Play JSON
OWrites
, resolve a new one.- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def toDocumentWriterConv[T](w: OWrites[T]): BSONDocumentWriter[T]
import reactivemongo.play.json.compat.HandlerConverters.toDocumentWriterConv def foo[T](jw: play.api.libs.json.OWrites[T]) = { val w: reactivemongo.api.bson.BSONDocumentWriter[T] = jw w }
- Definition Classes
- LowPriorityHandlerConverters2
- implicit final def toHandler[T](h: Format[T]): BSONHandler[T]
- Definition Classes
- LowPriorityHandlerConverters1
- implicit final def toReader[T](r: Reads[T]): BSONReader[T]
- Definition Classes
- LowPriorityHandlerConverters2
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit final def toWriter[T](w: Writes[T]): BSONWriter[T]
- Definition Classes
- LowPriorityHandlerConverters3
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()