PPJSONSerialization
PPJSONSerialization copied to clipboard
The Ultimate JSON Serialization for Swift.
I tried to run your same example with JSON data and same name of the class. but the data is still empty. Please provide the solution.
Swift 3
class Model: PPJSONSerialization { var a: Int? = 0 var b: Int = 0 var c: Int? override init() { super.init() } } only Model.b can transfer for json string
I have a json where am array can be either, [String] or [Dictionary], so i decided to use [AnyObject], but PPJSONSerialization fails to map and the array has always 0...