         return lugaresResult
     }
 
-    func getJSON() { // -> [lugares] {
+    func getJSON(_ completion: @escaping (_ lugares: [lugares]) -> Void) {
         
-        if let url = URL(string: "https://me-leva-rio.firebaseio.com/0.json") {
+        if let url = URL(string: "https://me-leva-rio.firebaseio.com/.json") {
             
             let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
                 

            
        }
    }
}

        DispatchQueue.global().async {
            
            // REQUEST
            self.getJSON({ lugares in
                completion(lugares, nil)
            })
            
//            completion(self.mockJSON(), nil)
            
