Other Extensions

The following extensions are available globally.

  • Convenience extension to get static bsonType from an instance

    See more

    Declaration

    Swift

    extension BSONValue
  • Declaration

    Swift

    extension JSON: Encodable
    extension JSON: ExpressibleByFloatLiteral
    extension JSON: ExpressibleByIntegerLiteral
    extension JSON: ExpressibleByStringLiteral
    extension JSON: ExpressibleByBooleanLiteral
    extension JSON: ExpressibleByArrayLiteral
    extension JSON: ExpressibleByDictionaryLiteral
    extension JSON: Equatable