Interface
BSON
access this type via:
data.bson.BSON
(provides, requires or uses)
An API to translate between JSON and BSON documents.
Functions
BSONDocument
serialise(
JSONElement
json)
JSONElement
deserialise(
BSONDocument
bson)
BSONDocument[]
parse(byte bsonDocuments[])
BSONDocument
serialise(
JSONElement
json)
json
The json document to serialise into BSON format.
JSONElement
deserialise(
BSONDocument
bson)
bson
The bson document to serialise into JSON format.
BSONDocument[]
parse(byte bsonDocuments[])
bsonDocuments
A byte array of documents to parse into separate BSONDocuments.