aeson-better-errors 0.2.0.0 → 0.3.0.0
raw patch · 2 files changed
+2/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Aeson.BetterErrors: eachInObjectWithKey :: (Text -> Either err k) -> Parse err a -> Parse err [(k, a)]
Files
aeson-better-errors.cabal view
@@ -1,5 +1,5 @@ name: aeson-better-errors-version: 0.2.0.0+version: 0.3.0.0 synopsis: Better error messages when decoding JSON values. license: MIT license-file: LICENSE
src/Data/Aeson/BetterErrors.hs view
@@ -37,6 +37,7 @@ , eachInArray , eachInObject+ , eachInObjectWithKey -- * Custom validations , withText