Can I read the JSON attribute, change it and return to JSON.
Exp: I read the json file
let jsonData:NSData = LocalFile.ReadFile(fileName)
let json = try NSJSONSerialization.JSONObjectWithData(jsonData, options: .AllowFragments)
if let m_array = json as? [[String: AnyObject]]{...}
source share