Trait/Object

reactivemongo.play.json.compat

FromValue

Related Docs: object FromValue | package compat

Permalink

sealed trait FromValue extends FromValueCompat with FromValueAPI

Conversion API from BSON to JSON values

Linear Supertypes
FromValueAPI, FromValueCompat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FromValue
  2. FromValueAPI
  3. FromValueCompat
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type JsonJavaScript <: JsValue

    Permalink
  2. abstract type JsonNumber <: JsValue

    Permalink

    JSON representation for numbers

  3. abstract type JsonObjectID <: JsValue

    Permalink
  4. abstract type JsonSymbol <: JsValue

    Permalink
  5. abstract type JsonTime <: JsValue

    Permalink

    JSON representation for temporal types

Abstract Value Members

  1. abstract def fromBinary(bin: BSONBinary): JsObject

    Permalink
  2. abstract def fromBoolean(bson: BSONBoolean): JsBoolean

    Permalink
  3. abstract def fromDateTime(bson: BSONDateTime): JsonTime

    Permalink
  4. abstract def fromDecimal(bson: BSONDecimal): JsObject

    Permalink

    See syntax:

    See syntax:

    { "$numberDecimal": "<number>" }

  5. abstract def fromDocument(bson: BSONDocument)(implicit conv: FromValue): JsObject

    Permalink

    Converts to a JSON object

  6. abstract def fromDouble(bson: BSONDouble): JsonNumber

    Permalink
  7. abstract def fromInteger(bson: BSONInteger): JsonNumber

    Permalink
  8. abstract def fromJavaScript(bson: BSONJavaScript): JsonJavaScript

    Permalink
  9. abstract def fromJavaScriptWS(bson: BSONJavaScriptWS): JsObject

    Permalink
  10. abstract def fromLong(bson: BSONLong): JsonNumber

    Permalink
  11. abstract def fromObject(js: JsObject): BSONValue

    Permalink

    First checks whether an explicit type (e.g.

    First checks whether an explicit type (e.g. $binary) is specified, otherwise converts to a BSON document.

  12. abstract def fromObjectID(bson: BSONObjectID): JsonObjectID

    Permalink
  13. abstract def fromRegex(rx: BSONRegex): JsObject

    Permalink
  14. abstract def fromSymbol(bson: BSONSymbol): JsonSymbol

    Permalink
  15. abstract def fromTimestamp(ts: BSONTimestamp): JsonTime

    Permalink
  16. abstract def fromValue(bson: BSONValue): JsValue

    Permalink
    Definition Classes
    FromValue → FromValueAPI

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to any2stringadd[FromValue] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FromValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to ArrowAssoc[FromValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (FromValue) ⇒ Boolean, msg: ⇒ Any): FromValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to Ensuring[FromValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (FromValue) ⇒ Boolean): FromValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to Ensuring[FromValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): FromValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to Ensuring[FromValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): FromValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to Ensuring[FromValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to StringFormat[FromValue] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. implicit final def fromArray(arr: BSONArray): JsArray

    Permalink
  17. implicit final val fromMaxKey: (BSONMaxKey) ⇒ JsObject

    Permalink

    See syntax:

    See syntax:

    { "$maxKey": 1 }

    Definition Classes
    FromValueCompat
  18. implicit final val fromMinKey: (BSONMinKey) ⇒ JsObject

    Permalink

    See syntax:

    See syntax:

    { "$minKey": 1 }

    Definition Classes
    FromValueCompat
  19. implicit val fromNull: (BSONNull) ⇒ JsNull.type

    Permalink
    Definition Classes
    FromValueCompat
  20. implicit final def fromStr(bson: BSONString): JsString

    Permalink
  21. implicit final val fromUndefined: (BSONUndefined) ⇒ JsObject

    Permalink

    See syntax:

    See syntax:

    { "$undefined": true }

    Definition Classes
    FromValueCompat
  22. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  25. final def jsonValue(bson: BSONValue)(implicit conv: FromValue): JsValue

    Permalink
    Attributes
    protected
  26. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (FromValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromValue to ArrowAssoc[FromValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from FromValueAPI

Inherited from FromValueCompat

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FromValue to any2stringadd[FromValue]

Inherited by implicit conversion StringFormat from FromValue to StringFormat[FromValue]

Inherited by implicit conversion Ensuring from FromValue to Ensuring[FromValue]

Inherited by implicit conversion ArrowAssoc from FromValue to ArrowAssoc[FromValue]

Ungrouped