Skip to content

Fix UnkeyedContainer crash for collections with nil

Compare
Choose a tag to compare
@VaporBot VaporBot released this 16 Dec 01:34
· 20 commits to main since this release
ffff1a8
This patch was authored by @fananek and released by @0xTim.

UnkeyedContainer throw fatal error in case of encoding collection with one or more nil values.
This change removes force unwrap of the input data and skip any nil value in a collection.

Resolves #197