SwiftyJSON v3.1.4 Release Notes

Release Date: 2016-12-22 // over 7 years ago
  • ๐Ÿš€ 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 castNilToNSNull to 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)