I left an issue at <a href="https://github.com/snoyberg/data-object-json/issues/2">https://github.com/snoyberg/data-object-json/issues/2</a><br>Said he had no plans to convert from JSONb, but he'd accept a pull request.<div>
<br></div><div>Aeson's JSON type does't look much different than JSONb's type:</div><div><a href="http://hackage.haskell.org/packages/archive/aeson/0.3.2.11/doc/html/Data-Aeson.html#g:1">http://hackage.haskell.org/packages/archive/aeson/0.3.2.11/doc/html/Data-Aeson.html#g:1</a></div>
<div>It also offers ToJSON and FromJSON classes for conversion to other types.<br><div class="gmail_quote"><br></div><div class="gmail_quote">That's a bit moot for the moment, though - it turns out JSONb works fine with attoparsec 0.9, despite the cabal file restrictions.</div>
<div class="gmail_quote">I left an issue about it up:</div><div class="gmail_quote"><a href="https://github.com/solidsnack/JSONb/issues/2">https://github.com/solidsnack/JSONb/issues/2</a></div><div class="gmail_quote"><br>
</div><div class="gmail_quote">We can wait on the cabal file being updated, or just patch it ourselves in the meantime.</div><div class="gmail_quote">-Leif</div><div class="gmail_quote"><br></div><div class="gmail_quote">
On Thu, Sep 8, 2011 at 12:20 PM, Nicolas Pouillard <span dir="ltr"><<a href="mailto:nicolas.pouillard@gmail.com">nicolas.pouillard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Sep 8, 2011 at 7:49 PM, Leif Warner <<a href="mailto:abimelech@gmail.com">abimelech@gmail.com</a>> wrote:<br>
> Sorry, I meant I had to delete their descriptions from cblrepo.db, to<br>
> maintain a consistent build set. JSONb requires attoparsec 0.8, the<br>
> other upgrades required attoparsec be upgraded to 0.9.<br>
<br>
</div>Ok, could you contact Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>> the maintainer of<br>
data-object-json could be upgraded to using JSONb? He is very active and might<br>
help to resolve this issue.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Nicolas Pouillard<br>
<a href="http://nicolaspouillard.fr" target="_blank">http://nicolaspouillard.fr</a><br>
</div></div></blockquote></div><br></div>