RSDFactoryDecoder

public protocol RSDFactoryDecoder

JSONDecoder and PropertyListDecoder do not share a common protocol so extend them to be able to create the appropriate decoder and set the userInfo keys as needed.

  • Undocumented

    Declaration

    Swift

    func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
  • Undocumented

    Declaration

    Swift

    var userInfo: [CodingUserInfoKey : Any]