├── .github ├── FUNDING.yml └── workflows │ └── swift.yml ├── .gitignore ├── .gitmodules ├── .jazzy.yaml ├── Benchmarks ├── Benchmarks │ └── BSON │ │ ├── BSONDecoderBenchmarks.swift │ │ └── Benchmarks.swift └── Package.swift ├── CODE_OF_CONDUCT.md ├── LICENSE ├── Package.swift ├── Package@swift-5.9.swift ├── Package@swift-6.0.swift ├── README.md ├── Sources └── BSON │ ├── Codable │ ├── Codable.swift │ ├── Decoding │ │ ├── BSONDecoder.swift │ │ ├── BSONDecoderSettings.swift │ │ ├── Fast │ │ │ └── FastBSONDecoder.swift │ │ ├── KeyedBSONDecodingContainer.swift │ │ ├── PrimitiveDecoding.swift │ │ ├── SingleValueBSONDecodingContainer.swift │ │ └── UnkeyedBSONDecodingContainer.swift │ └── Encoding │ │ ├── BSONEncoder.swift │ │ ├── BSONEncoderStrategies.swift │ │ └── PrimitiveEncoding.swift │ ├── Debugging │ └── CustomDebugStringConvertible.swift │ ├── Document │ ├── Document+Array.swift │ ├── Document+Cache.swift │ ├── Document+Collection.swift │ ├── Document+Dictionary.swift │ ├── Document+Equatable.swift │ ├── Document+Helpers.swift │ ├── Document+Mutations.swift │ ├── Document+Serialization.swift │ ├── Document+Subscripts.swift │ ├── Document+Validation.swift │ ├── Document.swift │ └── DocumentSlice.swift │ ├── Helpers │ └── ByteBuffer+Helpers.swift │ └── Types │ ├── AnyPrimitive.swift │ ├── Binary.swift │ ├── Decimal128.swift │ ├── JavaScript.swift │ ├── Null.swift │ ├── ObjectId.swift │ ├── Optional.swift │ ├── PrimitiveConvertible.swift │ ├── Primitives.swift │ ├── RegularExpression.swift │ ├── Timestamp.swift │ └── TypeIdentifier.swift ├── Tests └── BSONTests │ ├── BSONCorpusTests.swift │ ├── BSONDateDecodingTests.swift │ ├── BSONEncoderTests.swift │ ├── BSONPublicTests.swift │ └── ObjectIdTests.swift └── codecov.yml /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [joannis] 2 | -------------------------------------------------------------------------------- /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.jazzy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/.jazzy.yaml -------------------------------------------------------------------------------- /Benchmarks/Benchmarks/BSON/BSONDecoderBenchmarks.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Benchmarks/Benchmarks/BSON/BSONDecoderBenchmarks.swift -------------------------------------------------------------------------------- /Benchmarks/Benchmarks/BSON/Benchmarks.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Benchmarks/Benchmarks/BSON/Benchmarks.swift -------------------------------------------------------------------------------- /Benchmarks/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Benchmarks/Package.swift -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Package.swift -------------------------------------------------------------------------------- /Package@swift-5.9.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Package@swift-5.9.swift -------------------------------------------------------------------------------- /Package@swift-6.0.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Package@swift-6.0.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/README.md -------------------------------------------------------------------------------- /Sources/BSON/Codable/Codable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Codable.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/BSONDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/BSONDecoder.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/BSONDecoderSettings.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/BSONDecoderSettings.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/Fast/FastBSONDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/Fast/FastBSONDecoder.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/KeyedBSONDecodingContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/KeyedBSONDecodingContainer.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/PrimitiveDecoding.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/PrimitiveDecoding.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/SingleValueBSONDecodingContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/SingleValueBSONDecodingContainer.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Decoding/UnkeyedBSONDecodingContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Decoding/UnkeyedBSONDecodingContainer.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Encoding/BSONEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Encoding/BSONEncoder.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Encoding/BSONEncoderStrategies.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Encoding/BSONEncoderStrategies.swift -------------------------------------------------------------------------------- /Sources/BSON/Codable/Encoding/PrimitiveEncoding.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Codable/Encoding/PrimitiveEncoding.swift -------------------------------------------------------------------------------- /Sources/BSON/Debugging/CustomDebugStringConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Debugging/CustomDebugStringConvertible.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Array.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Array.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Cache.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Cache.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Collection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Collection.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Dictionary.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Dictionary.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Equatable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Equatable.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Helpers.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Mutations.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Mutations.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Serialization.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Serialization.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Subscripts.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Subscripts.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document+Validation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document+Validation.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/Document.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/Document.swift -------------------------------------------------------------------------------- /Sources/BSON/Document/DocumentSlice.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Document/DocumentSlice.swift -------------------------------------------------------------------------------- /Sources/BSON/Helpers/ByteBuffer+Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Helpers/ByteBuffer+Helpers.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/AnyPrimitive.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/AnyPrimitive.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/Binary.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/Binary.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/Decimal128.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/Decimal128.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/JavaScript.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/JavaScript.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/Null.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/Null.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/ObjectId.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/ObjectId.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/Optional.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/Optional.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/PrimitiveConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/PrimitiveConvertible.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/Primitives.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/Primitives.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/RegularExpression.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/RegularExpression.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/Timestamp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/Timestamp.swift -------------------------------------------------------------------------------- /Sources/BSON/Types/TypeIdentifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Sources/BSON/Types/TypeIdentifier.swift -------------------------------------------------------------------------------- /Tests/BSONTests/BSONCorpusTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Tests/BSONTests/BSONCorpusTests.swift -------------------------------------------------------------------------------- /Tests/BSONTests/BSONDateDecodingTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Tests/BSONTests/BSONDateDecodingTests.swift -------------------------------------------------------------------------------- /Tests/BSONTests/BSONEncoderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Tests/BSONTests/BSONEncoderTests.swift -------------------------------------------------------------------------------- /Tests/BSONTests/BSONPublicTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Tests/BSONTests/BSONPublicTests.swift -------------------------------------------------------------------------------- /Tests/BSONTests/ObjectIdTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/Tests/BSONTests/ObjectIdTests.swift -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orlandos-nl/BSON/HEAD/codecov.yml --------------------------------------------------------------------------------