parse(to:)

Decorates the BSON.AnyValue-yielding overload of this method with one that yields the key-value pairs as fields.

BSON.Document (ext).swift:14
func parse(to decode: (_ field: BSON.FieldDecoder<BSON.Key>) throws -> ()) throws