agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
678 stars 56 forks source link

Aeson 0.6.2.1 causes "jsonBody" to fail #41

Closed sportanova closed 9 years ago

sportanova commented 9 years ago

Correct json will return Left "incomplete input". Related to https://github.com/bos/aeson/issues/142

As a workaround I upgraded Aeson to 0.7.0.0 and am using "A.eitherDecodeStrict", which is the underlying function that jsonBody uses.

How tough would it be to upgrade the version of Aeson? I could try to take a crack at a pull request

agrafix commented 9 years ago

I think we can safely bump the constraint to 0.7.

sportanova commented 9 years ago

nice, thanks!