2 Commits
Author SHA1 Message Date
Hamilton Chapman 1fb6c0d326 Fix issue when trying to decode a mismatched type as a dictionary or an array
would lead to an empty container being decoded instead of an error being thrown.

We now correctly throw a `DecodingError.typeMismatch` error in cases like this.

Fixes: #59
2022-03-11 13:57:44 +00:00
Hamilton Chapman 80a90c3a60 Restructure and update repository to work with modern Swift Package Manager
conventions.
2021-12-15 18:10:44 +00:00