Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add detail on parse error location and cause #221

Closed
wants to merge 608 commits into from

Conversation

mf59816
Copy link

@mf59816 mf59816 commented Sep 25, 2014

This obsoletes #210.

See also #220, haskell/attoparsec#79.

bos and others added 30 commits August 24, 2012 13:41
Added an instance for the 'Fixed' class.
parseJSON for the variations on ISO-8601 dates as listed in ECMA-262.
Add functions for inspecting Values
Added eitherDecode and eitherDecode'
Add elaborate guide to Data.Aeson's Haddock documentation
De-emphasize working directly with the Value type as this is not the
common (or recommended) way to use the library, but still include
documentation on how to use it when it's called for.

Since the documentation on using generics is documented in the FromJSON
and ToJSON classes, refer to that documentation instead of only
documenting one method (which is not the preferred method anymore with
default signatures I believe).
Improve introductionary documentation
bos and others added 27 commits May 13, 2014 21:01
--HG--
extra : amend_source : d48e612e53488f41b0d6f2ceb4395978b48d411d
--HG--
extra : amend_source : aa3ad961a2c62e2948ee0e213615c01ac002b42c
This is more portable between compilers as well as between variants on GHC (ex: HaLVM is building off of head so GHC appears as 7.8.3 while TH is 2.10).
Data.Aeson.Types.Instances: fix UTCTime for years outside of [0, 9999]
Modernizing the TH example.
Export 'camelTo' function and fix its tests
Currently, eitherDecodeWith drops the attoparsec context when
returning a Left value.  In box/attoparsec#79, the context is
included in the output of L.eitherResult.  Since L.parseOnly
does not exist, the closest we can get to the structure of
eitherDecodeStrictWith here in aeson is L.eitherResult . L.parse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.