Could not cast value of type '__NSCFNumber' (0x10f13c540) to 'NSString' (0x10bff4c40) : I am new to Swift and learning about how to download JSON data into a table view. The code does not show any error on compile time but show on run time. Link of JSON data: https://jsonplaceholder.typicode.com/comments

    import UIKit
    
    class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {
    
        @IBOutlet var tableView: UITableView!
        override func viewDidLoad() {
            super.viewDidLoad()
        }
        
        func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
            return 100
        }
        
        func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
            let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as! show
            let loadingInBackground = DispatchQueue(label: "loadingInBackground", qos: .background)
            
            loadingInBackground.async {
                
                let stringURL = "https://jsonplaceholder.typicode.com/comments"
                let urlFromString = URL(string: stringURL)
                
                var request = URLRequest(url: urlFromString!)
                request.httpMethod = "GET"
                
                let session = URLSession(configuration: URLSessionConfiguration.default)
                session.dataTask(with: request) { (data, response, error) in
                    
                    do {
                        let dataInJSON = try JSONSerialization.jsonObject(with: data!, options: JSONSerialization.ReadingOptions.allowFragments) as! [ [String: Any] ]
                        
                        print(dataInJSON)
                        
                        let arrayOf_dataInJSON = dataInJSON[indexPath.row]
                        
                        cell.id.text = arrayOf_dataInJSON["id"] as! String?
                        cell.userId.text = ("User Id: \(arrayOf_dataInJSON["userId"] as! Int?)")
                    
                    }catch{print(error)}
                    
                    }.resume()
            }
            return cell
        }
        
    
    }
    
    class show : UITableViewCell {
        @IBOutlet var id: UILabel!
        @IBOutlet var userId: UILabel!
    }

The error is: "**Could not cast value of type '__NSCFNumber' (0x10e7c1540) to 'NSString' (0x10b679c40)**"

I am getting error on the line: "**cell.id.text = arrayOf_dataInJSON["id"] as! String?**"

Thanks in advanced.