BSONEncoding
Implements the BSON encoding system.
import BSONEncodingModule information
- Declarations
- 85
- Symbols
- 92
External users should avoid importing this module directly. Instead, import BSON.
Implements the BSON encoding system.
import BSONEncodingExternal users should avoid importing this module directly. Instead, import BSON.
import BSONAn umbrella module providing a BSON parser, encoder, and decoder.
protocol BSONBinaryEncodable : BSONEncodableprotocol BSONDocumentEncodable<CodingKey> : BSONEncodableA type that can be encoded to a BSON document. This protocol exists to allow types that define CodingKey to encode themselves using a BSON.DocumentEncoder.
protocol BSONEncodableA type that can be encoded to a BSON variant value.
protocol BSONListEncodable : BSONEncodableA type that can be encoded to a BSON list. This protocol exists to allow types that also conform to Sequence to opt-in to automatic BSONEncodable conformance as well.
protocol BSONStringEncodable : BSONEncodableA type that can be encoded to a BSON UTF-8 string. This protocol exists to allow types that also conform to LosslessStringConvertible to opt-in to automatic BSONEncodable conformance as well.
import BSONABIModels the BSON type system and the binary interface of the BSON serialization format.
import BSONArraysImplements the packed binary array system.
import BSONDecodingImplements the BSON decoding system.
import BSONLegacyimport BSONReflectionThis module contains tools for inspecting, canonicalizing, and comparing BSON for equality.
import BSON_ISOAn overlay module providing BSONEncodable and BSONDecodable conformances for the types in the ISO module.
import BSON_UUIDAn overlay module providing BSONEncodable and BSONDecodable conformances for the UUID type.