Re: Storing JSON via Erlang Client

2013-10-17 Thread Daniil Churikov
To Konstantin Kalin: This is not a good place to start discussion about NIFS, but check this http://ferd.ca/rtb-where-erlang-blooms.html especially last passage. -- View this message in context: http://riak-users.197444.n3.nabble.com/Storing-JSON-via-Erlang-Client-tp4029489p4029509.html Sent

Re: Storing JSON via Erlang Client

2013-10-17 Thread Konstantin Kalin
;, <<"my_key">>, >> <<"{\"key\":\"\val\"}">>, >> <<"application/json">>), >> ok = riakc_pb_socket:put(Worker, Obj), >> ok = riakc_pb_socket:stop(Worker). >> >> >> >

Re: Storing JSON via Erlang Client

2013-10-17 Thread Christopher Meiklejohn
w(<<"my_bucket">>, <<"my_key">>, <<"{\"key\":\"\val\"}">>, > > <<"application/json">>), > > ok = riakc_pb_socket:put(Worker, Obj), > > ok = riakc_pb_socket:stop(Worker). > > > > &

Re: Storing JSON via Erlang Client

2013-10-17 Thread Eric Redmond
y_key">>, > <<"{\"key\":\"\val\"}">>, > <<"application/json">>), > ok = riakc_pb_socket:put(Worker, Obj), > ok = riakc_pb_socket:stop(Worker). > > > > > -- > View this message in c

Re: Storing JSON via Erlang Client

2013-10-17 Thread Daniil Churikov
pb_socket:put(Worker, Obj), ok = riakc_pb_socket:stop(Worker). -- View this message in context: http://riak-users.197444.n3.nabble.com/Storing-JSON-via-Erlang-Client-tp4029489p4029491.html Sent from the Riak Users mailing list archive at Nabble.com. _

Storing JSON via Erlang Client

2013-10-16 Thread Ari King
Hi, Does anyone know of any examples illustrating how to store json values via the erlang client? I've recently started learning riak & erlang, so straight forward/simple examples would be appreciated. Thanks. -Ari ___ riak-users mailing list riak-users