Initializerswift-bson 0.3.1BSONDecoding->BSONABI
init(bson:)
BSON.Document (ext).swift:4init(bson: BSON.AnyValue) throws
init(bson: BSON.AnyValue) throws
s7BSONABI4BSONO8DocumentV12BSONDecodingE4bsonAeC8AnyValueO_tKcfc
What are these?8AGJY
import BSONDecoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct Document
The Document
type models the “universal” BSON DSL.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyValue
Any BSON value.
func parse(to decode: (_ field: BSON.FieldDecoder<BSON.Key>) throws -> ()) throws
Decorates the BSON.AnyValue
-yielding overload of this method with one that yields the key-value pairs as fields.