3.1.4
This release includes new features and shouldn’t break backwards compatibility with SwiftyJSON 3.1.3.
Fixes:
- Check for pre-escaped URLs to prevent double-escaping of % character. (#678 Thanks @dawvee)
- Fix an unexpected behavior when passing Int8 type number into JSON. (#717 Thanks @SumoSimo)
- Resolve a warning about expression implicitly coerced from 'String?' to Any in Swift 3.0.1. (#729 Thanks @ldiqual)
- Swift 3.0.2 / Xcode 8.2 compatible. (#764 Thanks @lbrndnr)
New Features:
- Add a flag
castNilToNSNullto json rawString for converting nil to NSNull. (#610 Thanks @gsabran) - Add a function to deep merge a JSON object into another JSON object. See Merging (#725 Thanks @danielkiedrowski)
- JSON constructors are more explicit now:
init(object: Any)becomes:init(_ object: Any). (#664 Thanks @MadsBogeskov)
Documentation improvement:
(Thanks all: @cwkatzmann, @victorlin, @looseyi, @takasek and @naeemshaikh90)