How to work with JSON objects using Erlang?
sean at basho.com
Thu Feb 9 14:22:15 EST 2012
Note that Riak already depends on mochiweb, which has the mochijson2 module
(used in Riak for bucket properties and MapReduce).
On Thu, Feb 9, 2012 at 1:57 PM, Ori Bar <ori.bar at nivertech.com> wrote:
> A good erlang library for JSON is https://github.com/davisp/jiffy
> On Thu, Feb 9, 2012 at 7:27 PM, Jeffrey Eliasen <jeff at jke.net> wrote:
> > I've been playing with Riak for a few weeks now using Python, and
> > like to run a map/reduce job that adds links and index data to every
> > so I need to use Erlang. I've been learning Erlang for a couple weeks,
> > I'm still pretty new to it overall.
> > My question is this: what's the easiest way to manipulate this data? I
> > three options:
> > Learn me some Erlang and do it that way...
> > Where can I find specific help in learning to manipulate JSON data using
> > Erlang?
> > Am I better off converting every node to Erlang data structures and just
> > using only Erlang from this point forward?
> > Use Erlang but call Python code that does the data manipulation...
> > Any good references for hooking into Python or other external code from
> > within Erlang?
> > cluster...
> > This appears to be less desireable as M/R jobs will timeout quickly and I
> > can't configure this; any other gotcha's I need to know about?
> > Thanks!
> > jeffrey k eliasen
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> Best Regards,
> Ori Bar, Software Engineer
> Nivertech Ltd
> email: ori.bar at nivertech.com
> phone: +972-52-2838429
> www: http://www.nivertech.com
> The content of this message is Nivertech Ltd Confidential. If you are
> not the intended recipient and have received this message in error,
> any use or distribution is prohibited. Please notify me immediately by
> reply e-mail and delete this message from your computer system. Thank
> riak-users mailing list
> riak-users at lists.basho.com
Sean Cribbs <sean at basho.com>
Basho Technologies, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users