```

    import UIKit
    import SwiftyJSON
    
    class ViewController: UIViewController {
    
        private let OpenWeatherMapUrl = "https://api.openweathermap.org/data/2.5/weather?q=tokyo&appid=2adfa01395bd22a20c1f1c95158af3da"
    
    
    
        override func viewDidLoad() {
            super.viewDidLoad()
            // Do any additional setup after loading the view, typically from a nib.
        }
    
        override func didReceiveMemoryWarning() {
            super.didReceiveMemoryWarning()
            // Dispose of any resources that can be recreated.
        }
    
        func openweathermap(){
    
            let url = NSURL(string: self.OpenWeatherMapUrl)!
            let task = URLSession.shared.dataTask(with: url as URL, completionHandler: {data, response, error in
                let json = JSON(data: data!)
                print(json)
    
            })
            task.resume()
    
        }
    
    }
    
```

このコードにおいて  
`let json = JSON(data: data!)` の部分で

> Use of unresolved identifier 'JSON'

というエラーが出てしまい、解決できていません。

Swiftは ver 3.1 、 Xcode は ver 8.3.3 です。
CC BY-SA 4.0
2017-08-18T18:15:47.980
37320
2019-05-04T17:49:24.663
2019-05-04T17:49:24.663
76
24938
question
swift3
SwiftyJSONにおけるエラーについて