I have a problem with JSON. I have a Rest API to return a list of objects. This object have text with enter and tittle (ó) and the text have "\U00f3n", "\n", I can't map this to a text.
I convert the result in JSON like this:
let jsonResult: AnyObject! = NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.MutableContainers, error: &err)
I map the result to text like this:
func parseNew(pNew: AnyObject)->New
{
if let description = pNew["Text"] as? String
{
newRetorno.setText(description)
}
}