Protocols

The following protocols are available globally.

Encoding

  • Protocol acting as a common API for all types of encoders, such as JSONEncoder and PropertyListEncoder.

    See more

    Declaration

    Swift

    public protocol AnyEncoder

Decoding

  • Protocol acting as a common API for all types of decoders, such as JSONDecoder and PropertyListDecoder.

    See more

    Declaration

    Swift

    public protocol AnyDecoder

Date formatters