Encodable

protocol Encodable

Extending encodable in order to support Encodable => Dictionary conversion

  • Encodable => Dictionary conversion

    Declaration

    Swift

    public func adaptToDictionary() throws -> [String : Any]