GitPedia
isair

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
isairisair·9y ago·May 9, 2017
GitHub

📋 Changes

  • Swift 3.0
  • Improved tests
  • Single target for all platforms
2.1.0
isairisair·10y ago·June 13, 2016
GitHub

📋 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
isairisair·10y ago·June 9, 2016
GitHub

Major changes in API and implementation. Check out the new README for new usage instructions. Everything is tested as always.

1.7.0
isairisair·10y ago·December 1, 2015
GitHub

tvOS support

1.6.1
isairisair·10y ago·September 17, 2015
GitHub

Swift 2.0 syntax.

1.6.0
isairisair·11y ago·May 11, 2015
GitHub

Dictionary and enum support.

1.5.4
isairisair·11y ago·April 15, 2015
GitHub

📋 Changes

  • Correct handling of null values.
  • Minor improvements.
1.5.3
isairisair·11y ago·April 13, 2015
GitHub

Fix for release builds.

1.5.2
isairisair·11y ago·April 9, 2015
GitHub

Set correct deployment targets.

1.5.1
isairisair·11y ago·April 7, 2015
GitHub

String to NSDate conversions no longer require tuples to be named.

1.5.0
isairisair·11y ago·April 4, 2015
GitHub

Switched to using a single operator: <--

1.4.0
isairisair·11y ago·November 13, 2014
GitHub

📋 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.