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

error messages for JSON parsing #1814

Closed
marcosh opened this issue Aug 11, 2023 · 2 comments
Closed

error messages for JSON parsing #1814

marcosh opened this issue Aug 11, 2023 · 2 comments

Comments

@marcosh
Copy link

marcosh commented Aug 11, 2023

Currently yesod-core is using Aeson.fromJSON to parse JSON values from Http requests.

Currently fromJSON do not provide any information on the path of a parsing error, when that happens.

IMHO, it would be interesting to use ifromJSON or any similar function which actually keeps track of the path of parsing errors.

@parsonsmatt
Copy link
Contributor

There's a PR for this here #1807

@marcosh
Copy link
Author

marcosh commented Aug 16, 2023

thanks, closing as duplicate

@marcosh marcosh closed this as completed Aug 16, 2023
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

No branches or pull requests

2 participants