On Sat, Jul 25, 2009 at 9:54 AM, Lynton Grice<[email protected]> 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
