Marshaling the typeless wild west of [String: Any]
Swift 4.x compatibility.
Fixes some more regression bugs
This release fixes a regression introduced by the last commits that made it impossible to decode an optional JSONObject
This release has a few things in it, most notably it removes dictionary ValueType conformance.
Special thanks to @KingOfBrian for his work! 😸
This PR (thanks to @jgrandelli) adds the ability to decode arrays of optionals from MarshaledObject
. It also adds an optional argument to discard errors when decoding an array of objects, so that in an array where a few of the objects are malformed you don't have to throw away the whole array. You could previously do this on your own, but required an understanding of flatMap
and was less obvious to new users. This API should help Marshal be more friendly.
Adds some @available
migration helpers for everyone upgrading from pre Swift 3 version of Marshal.
Releases Swift 3 Marshal, updated documentation, and is officially 1.0!