RSDDictionaryRepresentable

public protocol RSDDictionaryRepresentable

Protocol for converting an object to a dictionary representation. This is included for reverse-compatiblility to older implementations that are not Swift 4 Codable and instead use a dictionary representation.

  • Return the dictionary representation for this object.

    Declaration

    Swift

    func dictionaryRepresentation() -> [AnyHashable : Any]