Type Aliases

The following type aliases are available globally.

  • Type alias for conforming to JSONDecodable & JSONEncodable. The same way Codable is a type alias for Decodable & Encodable

    Declaration

    Swift

    public typealias JSONCodable = JSONDecodable & JSONEncodable
  • Type alias added for use as a shorthand json dictionary objects

    Declaration

    Swift

    public typealias JSON = [String: Any]