isair/JSONHelper
✌ Convert anything into anything in one operation; JSON data into class instances, hex strings into UIColor/NSColor, y/n strings to booleans, arrays and dictionaries of these; anything you can make sense of!
12 Releases
Latest: 9y ago
2.2.0Latest
📋 Changes
- Swift 3.0
- Improved tests
- Single target for all platforms
2.1.0
📋 Changes
- `<--` operator and `Deserializable` protocol initializer no longer throw errors.
- Errors thrown by `convertFromValue` method of the `Convertible` protocol are now logged in the console for debug builds.
2.0.0
Major changes in API and implementation. Check out the new README for new usage instructions. Everything is tested as always.
1.7.0
tvOS support
1.6.1
Swift 2.0 syntax.
1.6.0
Dictionary and enum support.
1.5.4
📋 Changes
- Correct handling of null values.
- Minor improvements.
1.5.3
Fix for release builds.
1.5.2
Set correct deployment targets.
1.5.1
String to NSDate conversions no longer require tuples to be named.
1.5.0
Switched to using a single operator: <--
1.4.0
📋 Changes
- Better tests.
- Better unix timestamp to NSDate conversion.
- Unix timestamp array to NSDate array conversion.
- Support for double and float arrays.
- Ditched plan to support error reporting; simplified code thanks to that.
