I left an issue at https://github.com/snoyberg/data-object-json/issues/2
Said he had no plans to convert from JSONb, but he'd accept a pull request.
Aeson's JSON type does't look much different than JSONb's type:
http://hackage.haskell.org/packages/archive/aeson/0.3.2.11/doc/html/Data-Ae…
It also offers ToJSON and FromJSON classes for conversion to other types.
That's a bit moot for the moment, though - it turns out JSONb works fine
with attoparsec 0.9, despite the cabal file restrictions.
I left an issue about it up:
https://github.com/solidsnack/JSONb/issues/2
We can wait on the cabal file being updated, or just patch it ourselves in
the meantime.
-Leif
On Thu, Sep 8, 2011 at 12:20 PM, Nicolas Pouillard <
nicolas.pouillard(a)gmail.com> wrote:
> On Thu, Sep 8, 2011 at 7:49 PM, Leif Warner <abimelech(a)gmail.com> wrote:
> > Sorry, I meant I had to delete their descriptions from cblrepo.db, to
> > maintain a consistent build set. JSONb requires attoparsec 0.8, the
> > other upgrades required attoparsec be upgraded to 0.9.
>
> Ok, could you contact Michael Snoyman <michael(a)snoyman.com> the maintainer
> of
> data-object-json could be upgraded to using JSONb? He is very active and
> might
> help to resolve this issue.
>
> --
> Nicolas Pouillard
> http://nicolaspouillard.fr
>
I've been rather inactive lately. It's for a good reason, but I forgot
to communicate it.
About two months ago I and my family left the UK for Sweden (my home
country). Since then it's been a rather hectic time with settling in,
finding a place to live, moving our stuff (twice), starting a new job,
assembling furniture from IKEA, etc. At the moment we live in our own
place, but we still don't have a reliable and fast internet
connection. The ETA on the connection is 21 September. That means
it'll be a few more weeks until I can get back to working with
ArchHaskell properly.
I'm very happy to see that Nicolas and Leif continue to work with it.
Ideally you haven't even noticed my absence :-)
/M
--
Magnus Therning OpenPGP: 0xAB4DFBA4
email: magnus(a)therning.org jabber: magnus(a)therning.org
twitter: magthe http://therning.org/magnus
I just commited an upgraded of Yesod and some associated tools to the
repo. It's in a branch marked yesod_0.9, however, rather than master,
as it required deleted JSONb and data-object-json, which depended on
JSONb.
JSONb depends on an older version of attoparsec, and was holding back
other Yesod-related things that depended on the newer attoparsec.
JSONb hasn't been updated since March, and on it's Hackage page[1], it
says
"Have you considered aeson (http://hackage.haskell.org/package/aeson)
a newer, extensively benchmarked JSON parsing library?"
- which gives the idea that this package might be deprecated.
Feel free to merge in these updates if JSONb and data-object-json
won't be missed from the repo (at least for now).
[1] http://hackage.haskell.org/package/JSONb-1.0.4
-Leif Warner