I\'m trying to parse a json but I have some difficulties with the data types and notably the AnyObject type + downcasting.
Let\'s consider the following json (it\'s
Try:
With it you can go like this:
let obj:[String:AnyObject] = [ "array": [JSON.null, false, 0, "", [], [:]], "object":[ "null": JSON.null, "bool": true, "int": 42, "double": 3.141592653589793, "string": "a α\t弾\n