Xcode 自己就有 json 支持啊。
NSJSONSerialization
//Swiftclass?func?JSONObjectWithData(_?data:?NSData,?options?opt:?NSJSONReadingOptions,?error?error:?NSErrorPointer)?->?AnyObject?
//OBJECTIVE-C
+?(id)JSONObjectWithData:(NSData?*)data?options:(NSJSONReadingOptions)opt?error:(NSError?**)error
將 json 讀入 NSData 然後用上述方法得到 json 對象。之後可以像字典那樣子讀取 json 內容。