lax
import play.api.libs.json._
import reactivemongo.api.bson._
import reactivemongo.play.json.compat.lax._
Json.obj("_id" -> BSONObjectID.generate()) // objectIdWrites
// { "_id": "as_string_instead_of_ObjectId" }
Type members
Inherited types
Implicits
Inherited implicits
Reads a BSONDateTime
from a BSONLong
.
Reads a BSONDateTime
from a BSONLong
.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONObjectID
from a JSON string.
Reads a BSONObjectID
from a JSON string.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONSymbol
from a JSON string.
Reads a BSONSymbol
from a JSON string.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONTimestamp
from a JSON number.
Reads a BSONTimestamp
from a JSON number.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONDateTime
from a JSON number.
Reads a BSONDateTime
from a JSON number.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
See BSONDateTime.value
See BSONDateTime.value
- Definition Classes
- LaxValueConverters -> FromValue
- Inherited from:
- LaxValueConverters (hidden)
See BSONJavaScript.value
See BSONJavaScript.value
- Definition Classes
- LaxValueConverters -> FromValue
- Inherited from:
- LaxValueConverters (hidden)
Reads a BSONJavaScript
from a BSONString
.
Reads a BSONJavaScript
from a BSONString
.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONJavaScript
from a JSON string.
Reads a BSONJavaScript
from a JSON string.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONObjectID
from a JSON string.
Reads a BSONObjectID
from a JSON string.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONSymbol
from a JSON string.
Reads a BSONSymbol
from a JSON string.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
Reads a BSONTimestamp
from a JSON number.
Reads a BSONTimestamp
from a JSON number.
- Inherited from:
- LaxHandlerWorkarounds (hidden)
- Inherited from:
- ToValue