couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: CouchDB / Mochiweb version
Date Sat, 25 Jul 2009 19:29:15 GMT
On Sat, Jul 25, 2009 at 9:54 AM, Lynton
Grice<lynton.grice@logosworld.com> wrote:
> Hi there,
>
> Can someone let me know why CouchDB does not work with the latest version of
> Mochiweb from the web? I get JSON encoding errors using the latest version
> of Mochiweb. All the test suite tests fail with syntax errors. What version
> of Mochiweb is bundled with the latest version of CouchDB?
>
> There seems to be a difference in the "mochijson2.erl" file between the
> mochiweb file bundled with the CouchDB download vs the latest Mochiweb "
> mochijson2.erl".
>
> Any ideas?
>
> Lynton
>
>

CouchDB's JSON serialization has always been slightly different than
mochiweb's. At one point there was supposed to be a shift towards what
CouchDB uses. There's a thread somewhere on erlang-questions IIRC that
this move was discussed.

HTH,
Paul Davis

Mime
View raw message