RSDFactoryEncoder

public protocol RSDFactoryEncoder

JSONEncoder and PropertyListEncoder 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 encode<T>(_ value: T) throws -> Data where T : Encodable
  • Undocumented

    Declaration

    Swift

    var userInfo: [CodingUserInfoKey : Any]