org.mongodb.scala.bson.collection.immutable
Create a new document from the elems
Create a new document from the elems
a sequence of key/values that make up the Document. This can be any valid sequence of (String, BsonValue)
pairs that
can be transformed into a sequence of BsonElements via BsonMagnets.CanBeBsonElements implicits and any
BsonTransformers
that are in scope.
a new Document consisting key/value pairs given by elems
.
Create a new document from the elems
Create a new document from the elems
the key/value pairs that make up the Document. This can be any valid (String, BsonValue)
pair that can be
transformed into a BsonElement via BsonMagnets.CanBeBsonElement implicits and any BsonTransformers that
are in scope.
a new Document consisting key/value pairs given by elems
.
Parses a string in MongoDB Extended JSON format to a Document
Parses a string in MongoDB Extended JSON format to a Document
the JSON string
a corresponding Document
object
org.bson.json.JsonParseException
if passed an invalid json string
org.bson.json.JsonReader
Create a new Document
Create a new Document
a new Document
A implicit builder factory.
A implicit builder factory.
a builder factory.
Create a new empty Document
Create a new empty Document
a new Document
The immutable Document companion object for easy creation.