JSON lib for erlang

Dan Reverri dan at basho.com
Thu Jul 29 02:09:17 EDT 2010


Hi Wilson,

Mochijson is a popular choice. I would recommend using mochijson2 because it
handles strings as binaries.

There is also erlang-rfc4627 which I have not used but looks pretty good:
http://tonyg.github.com/erlang-rfc4627/


Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at basho.com


On Wed, Jul 28, 2010 at 10:46 PM, Dmitry Demeshchuk <demeshchuk at gmail.com>wrote:

> mochijson.erl and mochijson2.erl are used by RIak itself, you can use them.
>
> As for me, I prefer the first one, as the second one requires
> converting JSON strings to binaries.
>
> On Thu, Jul 29, 2010 at 9:11 AM, Wilson MacGyver <wmacgyver at gmail.com>
> wrote:
> > At the risk of somewhat off topic, what JSON lib does everyone use with
> the
> > Erlang riak client?
> >
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> >
>
>
>
> --
> Best regards,
> Dmitry Demeshchuk
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100728/3582d169/attachment.html>


More information about the riak-users mailing list