Warn on unknown fields, without failing
Open
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 336
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 4
Description
The presence of unrecognised fields seems like something one might want to be aware of, while still obtaining the parse result. #749 only makes it possible to halt completely.
Admittedly, I'm not sure where this would fit within Aeson's current API. I guess we'd need something like `eitherDecodeWarnings :: FromJSON a => ByteString -> Either String ([Warning], a)`.
Contributor guide
Assessment
This issue has not been assessed yet.