2009/7/25 Lynton Grice <[email protected]>:
> It seems the problem lies entirely with the "mochijson2.erl" file. The file
> I am using from the CouchDB download seems to let CouchDB run fine BUT when
> I try use the "mochijson2" file from standard Erlang I get errors pretty
> much all the time.
>
> Any idea how I can solve these JSON errors?
>
I'm using mochijson2 for a library I expect to release this we, and I
have no problem with it. It seem that you miss the struc term in your
doc :
[{<<"name">>,
<<"Korale">>}, {<<"type">>, <<"character">>}]
should be
{struct, [{<<"name">>,
<<"Korale">>}, {<<"type">>, <<"character">>}]}
- benoƮt