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 です。