         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
                 

            
        }
    }
}


import Foundation
import ObjectMapper

public typealias JSONDictionary = [String: Any]
typealias ModelRemoteServiceCompletion = (_ objects: [lugares]?, _ error: Error?) -> Void
