ModelRocket v1.2.4 Release Notes

Release Date: 2016-02-13 // about 8 years ago
  • ➕ Added

    • RawRepresentable conformance to JSON
      • This includes a failable initializer with a single AnyObject argument and a compute property named rawValue of type AnyObject
    • 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 {}