Haskell Platform Proposal: add the 'aeson' library
Bas van Dijk
v.dijk.bas at gmail.com
Wed Sep 18 09:02:16 CEST 2013
On 18 September 2013 06:30, Niklas Hambüchen <mail at nh2.me> wrote:
> On 18/09/13 04:02, Dan Burton wrote:
>> Everybody already uses, trusts, and loves aeson.
> There's only one thing about it that I don't trust:
> "Partial instances" that will call error in pure code and crash my program.
> ByteString has such an instance that simply assumes that ByteString is
> the same as Text, so it calls Data.Text.Encoding.decodeUtf8 on it.
What about settling that issue by adding documentation to the ToJSON
ByteString instance and the 'encode' function warning users about
More information about the Libraries