A fast Haskell JSON library
Go to file
rmanne 817ad94716
Add option to reject unknown fields (#207) (#749)
This commit adds rejectUnknownFields as a Option that affects parsing.
Parsing will succeed only if all of the fields in the raw JSON value
are present in the record to which it will be parsed.

It supports both Generics and TH, though the TH implementation has less
detailed messaging. This seems to be a pattern througout though, so it
should be consistent with other parsing errors.
2020-02-06 18:00:31 +01:00
attoparsec-iso8601 Drop pre-GHC-7.8 support (#743) 2019-12-01 06:44:42 +01:00
benchmarks Drop pre-GHC-7.8 support (#743) 2019-12-01 06:44:42 +01:00
cbits Fixed "Invalid UTF-8 stream" error on valid characters (#476). 2016-10-21 01:54:55 +03:00
Data Add option to reject unknown fields (#207) (#749) 2020-02-06 18:00:31 +01:00
examples NoImplicitPrelude, HLint hints fixed 2018-08-30 06:03:17 +01:00
ffi/Data/Aeson/Parser upgrade nightly snapshot (& hlint) 2017-12-23 16:46:49 +01:00
include IncoherentInstances needed to derive some instances 2016-10-03 17:30:46 +02:00
pure/Data/Aeson/Parser Refactor decodeHex in UnescapePure 2017-10-22 17:20:26 -04:00
tests Add option to reject unknown fields (#207) (#749) 2020-02-06 18:00:31 +01:00
travis Add GHC-8.8.1 Travis job 2019-08-31 21:01:46 +03:00
.gitattributes Ignore vendored tests/JSONTestSuite 2016-12-23 01:54:16 +03:00
.gitignore Update stack snapshot for ffi and benchmark builds 2019-10-05 17:16:27 +02:00
.hgignore Ensure that basic examples are buildable 2015-05-27 09:37:53 -07:00
.hgtags Added tag 0.10.0.0 for changeset 921050855dc4 2015-09-18 10:02:47 -07:00
.hlint.yaml travis: Fix & speed up hlint build step 2019-06-25 19:56:36 +02:00
.travis.yml Drop pre-GHC-7.8 support (#743) 2019-12-01 06:44:42 +01:00
aeson.cabal Drop pre-GHC-7.8 support (#743) 2019-12-01 06:44:42 +01:00
cabal.project Drop pre-GHC-7.8 support (#743) 2019-12-01 06:44:42 +01:00
changelog.md Allow FromJSON instance for Ratio a parse numbers (#745) 2020-02-03 09:40:05 +01:00
CONTRIBUTING.md Add section on Development Workflow (#736) 2020-02-06 17:59:11 +01:00
LICENSE Initial commit 2011-01-21 13:40:49 -08:00
Makefile travis: Fix & speed up hlint build step 2019-06-25 19:56:36 +02:00
README.markdown README: Don't list bos as the maintainer. 2018-03-29 18:34:36 +02:00
run-hlint.sh travis: Fix & speed up hlint build step 2019-06-25 19:56:36 +02:00
Setup.lhs Refactor a little 2011-01-21 15:22:09 -08:00
stack-bench.yaml Update stack snapshot for ffi and benchmark builds 2019-10-05 17:16:27 +02:00
stack-ffi-unescape.yaml Update stack snapshot for ffi and benchmark builds 2019-10-05 17:16:27 +02:00
stack-lts12.yaml Use time-compat and fix MonadFail breakages 2019-05-14 13:47:01 +03:00
stack-nightly.yaml Update stack nightly yaml (#737) 2019-10-17 17:52:18 +02:00

Welcome to aeson Hackage Build Status

aeson is a fast Haskell library for working with JSON data.

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://github.com/bos/aeson.git

See what's changed in recent (and upcoming) releases:

(You can create and contribute changes using either git or Mercurial.)

Authors

This library was originally written by Bryan O'Sullivan.