Extensions

The following extensions are available globally.

  • Extension to allow deserialization of object from JSON data

    See more

    Declaration

    Swift

    protocol Decodable
  • Encodable Extension to allow serialization to JSON objects

    See more

    Declaration

    Swift

    protocol Encodable
  • Encode JSON objects to Data

    See more

    Declaration

    Swift

    struct Dictionary<Key, Value> where Key : Hashable
  • Adding common functionality to String class

    See more

    Declaration

    Swift

    struct String
  • Provides way to check empty without unwrapping

    See more

    Declaration

    Swift

    @_frozen
    enum Optional<Wrapped> : ExpressibleByNilLiteral
  • Adding utility methods to URLRequest

    See more

    Declaration

    Swift

    struct URLRequest : ReferenceConvertible, Equatable, Hashable