ModelRocket 1.2.4
Added
- RawRepresentable conformance to
JSON
- This includes a failable initializer with a single AnyObject argument and a compute property named
rawValue
of type AnyObject
- This includes a failable initializer with a single AnyObject argument and a compute property named
- Function for converting a
JSON
object back to raw NSData
do {
let data = try json.rawData(.PrettyPrinted)
// do something with data
}
catch let error = JSON.DataError {}
catch {}