I'm trying to append JSON data to an array. While looping it keeps pushing an error, 'cannot invoke initializer to type 'item' with an argument of type (id: JSON, title: JSON, detail: String, ImageURL: String)'

[![enter image description here](https://i.stack.imgur.com/kXScO.png)](https://i.stack.imgur.com/kXScO.png)

this is how 'Item' initializer looks like:
import UIKit

```
class Item: NSObject {
    var id: String, title: String, detail: String, imageURL: String

    init(id: String, title: String, detail: String, imageURL: String) {
        self.id = id
        self.title = title
        self.detail = detail
        self.imageURL = imageURL
    }
}

```