Type members
Value members
Concrete methods
Parses a string in MongoDB Extended JSON format to a Document
Parses a string in MongoDB Extended JSON format to a Document
- Value parameters:
- json
the JSON stringN
- Returns:
a corresponding
Document
object- See also:
org.bson.json.JsonReader
Create a new document from the elems
Create a new document from the elems
- Value parameters:
- 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.
- Returns:
a new Document consisting key/value pairs given by
elems
.
Create a new document from the elems
Create a new document from the elems
- Value parameters:
- 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.
- Returns:
a new Document consisting key/value pairs given by
elems
.