aeson v1.4.3.0 Release Notes
Release Date: 2019-04-28 // almost 5 years ago-
- ๐ Improve error messages for FromJSON in existing instances and GHC Generic implementation. Thanks to Xia Li-Yao & Igor Pashev.
- ๐ Tweak error-reporting combinators and their documentation. Thanks to Xia Li-Yao.
typeMismatch
is now about comparing JSON types (i.e., the expected and actual names of the Value constructor).withObject
and otherwith*
combinators now also mention the JSON types they expect- New
unexpected
andprependFailure
combinators.
- โ Add
Contravariant
ToJSONKeyFunction
instance. Thanks to Oleg Grenrus. - โ Add
KeyValue
instance forObject
. Thanks to Robert Hensing. - ๐ Improve performance when parsing certain large numbers, thanks to Oleg Grenrus.
- โ Add
Data.Aeson.QQ.Simple
- A limited version of aeson-qq. Thanks to Oleg Grenrus. - ๐ฆ Exposes internal helper functions like
<?>
,JSONPath
, andparseIndexedJSON
fromData.Aeson
module. Thanks to Abid Uzair. - ๐ Better error messages when there are syntax errors parsing objects and arrays. Thanks to Fintan Halpenny.
- ๐ Support building with
th-abstraction-0.3.0.0
or later. Thanks to Ryan Scott.