Object/Trait

reactivemongo.play.json.compat

HandlerConverters

Related Docs: trait HandlerConverters | package compat

Permalink

object HandlerConverters extends HandlerConverters

See compat$ and HandlerConverters

Linear Supertypes
HandlerConverters, LowPriorityHandlerConverters1, LowPriorityHandlerConverters2, LowPriorityHandlerConverters3, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HandlerConverters
  2. HandlerConverters
  3. LowPriorityHandlerConverters1
  4. LowPriorityHandlerConverters2
  5. LowPriorityHandlerConverters3
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. implicit final def fromDocumentHandler[T](h: BSONDocumentHandler[T]): OFormat[T]

    Permalink

    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
  10. implicit final def fromDocumentReader[T](r: BSONDocumentReader[T]): Reads[T]

    Permalink

    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
  11. implicit final def fromDocumentWriter[T](w: BSONDocumentWriter[T]): OWrites[T]

    Permalink

    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
  12. implicit final def fromHandler[T](h: BSONHandler[T]): Format[T]

    Permalink
    Definition Classes
    LowPriorityHandlerConverters1
  13. implicit final def fromReader[T](r: BSONReader[T]): Reads[T]

    Permalink
    Definition Classes
    LowPriorityHandlerConverters3
  14. implicit final def fromWriter[T](w: BSONWriter[T]): Writes[T]

    Permalink
    Definition Classes
    LowPriorityHandlerConverters3
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. implicit def jsonReaderNewValue[B <: BSONValue, L](implicit r: BSONDocumentReader[B], conv: (B) ⇒ L): Reads[L]

    Permalink

    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
  19. implicit def jsonWriterNewValue[B <: BSONValue, L](implicit w: BSONDocumentWriter[B], conv: (L) ⇒ B): OWrites[L]

    Permalink

    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
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. implicit final def toDocumentHandler[T](h: OFormat[T]): BSONDocumentHandler[T]

    Permalink

    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
  25. implicit final def toDocumentReader[T](implicit r: Reads[T]): BSONDocumentReader[T]

    Permalink

    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
  26. implicit final def toDocumentReaderConv[T](r: Reads[T]): BSONDocumentReader[T]

    Permalink

    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
  27. implicit final def toDocumentWriter[T](implicit w: OWrites[T]): BSONDocumentWriter[T]

    Permalink

    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
  28. implicit final def toDocumentWriterConv[T](w: OWrites[T]): BSONDocumentWriter[T]

    Permalink

    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
  29. implicit final def toHandler[T](h: Format[T]): BSONHandler[T]

    Permalink
    Definition Classes
    LowPriorityHandlerConverters1
  30. implicit final def toReader[T](r: Reads[T]): BSONReader[T]

    Permalink
    Definition Classes
    LowPriorityHandlerConverters2
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. implicit final def toWriter[T](w: Writes[T]): BSONWriter[T]

    Permalink
    Definition Classes
    LowPriorityHandlerConverters3
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HandlerConverters

Inherited from LowPriorityHandlerConverters1

Inherited from LowPriorityHandlerConverters2

Inherited from LowPriorityHandlerConverters3

Inherited from AnyRef

Inherited from Any

Ungrouped