Redesign FormDataEncoder and FormDataDecoder
This patch was authored and released by @siemensikkema.
Redesign FormDataEncoder and FormDataDecoder to better align with Codable's intended behavior.
- Support decoding top level optionals (fixes #68)
- Adds a
userInfo
property toFormDataDecoder
andFormDataEncoder
- More correct handling of "superDecoder" and "superEncoder"
- When nesting depth is exceeded we first fail when we’re actually trying to grab data from beyond the nesting limit
- Add some missing API docs