Hi. this is my sample code
import Foundation
var features = [[String: Any]]()
var geo = [String: Any]()
geo["type"] = "FeatureCollection"
geo["features"] = features
let geoJson = try? JSONSerialization.data(withJSONObject: String(data: geo, encoding: .utf8)!, options: [])
Why does the error message say Cannot convert value of type '[String : Any]' to expected argument type 'Data'
I am going to use the data in the GMUGeoJSONParser(data: ...) in maps ios utils