Haskell Platform Proposal: add the 'aeson' library
Conrad Parker
conrad at metadecks.org
Fri Oct 11 23:15:06 UTC 2013
On 23 September 2013 22:56, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> 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.
> >
> > https://github.com/bos/aeson/issues/126
> > _______________________________________________
> > Libraries mailing list
> > Libraries at haskell.org
> > http://www.haskell.org/mailman/listinfo/libraries
>
> Note that Bryan pushed a patch which removes the ByteString instances:
>
>
> https://github.com/bos/aeson/commit/9ee73f303cacb8ae73b2325f2f47288522607420
>
> I think this is a good change. Now users have to be explicit how they
> want to encode binary data as JSON.
>
great, +1 to including the next (major-bumped) version.
Conrad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20131011/fe67d365/attachment.html>
More information about the Libraries
mailing list