I created two different labels and I want to display name and emails from JSON. I don't know why but it's not working. Any solution?

P.S. I am very new with Swift.

```
class ViewController: UIViewController {

    @IBOutlet weak var nameJson: UILabel!
    @IBOutlet weak var emailJson: UILabel!

    struct UserData: Decodable {
        var name: String
        var email: String
    }

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.

        let source = URL(string:"https://jsonplaceholder.typicode.com/users")!

        URLSession.shared.dataTask(with: source) { (data, response, error) in
            if let data = data {
                do {
                    let JsonData = try JSONDecoder().decode(UserData.self, from: data)

                    DispatchQueue.main.async {
                        self.nameJson.text = JsonData.name
                        self.emailJson.text = JsonData.email
                    }
                }
                catch {

                }
            }
        }.resume()        
    }
}

```