I finished a thrift json protocol implementation for erlang:<div>My implementation of the protocol may be found here:</div><div><a href="https://github.com/postlock/thrift/blob/trunk/lib/erl/src/thrift_json_protocol.erl">https://github.com/postlock/thrift/blob/trunk/lib/erl/src/thrift_json_protocol.erl</a></div>
<div>A modified version of the erlang thrift tutorial which uses my implementation over HTTP to talk to the same server that the javascript tutorial uses:</div><div><a href="https://github.com/postlock/thrift/blob/trunk/tutorial/erl/json_client.erl">https://github.com/postlock/thrift/blob/trunk/tutorial/erl/json_client.erl</a></div>
<div>Finally, it should be noted that the code depends on JSX:</div><div><a href="https://github.com/talentdeficit/jsx">https://github.com/talentdeficit/jsx</a></div><div><br></div><div>I haven't had time to run a huge amount of tests on it yet, but the tutorial seems to work fine.</div>
<div>Improvements are welcome!</div><div><br></div><div>Peter Neumark<br><div><br><div class="gmail_quote">On Sun, Jun 19, 2011 at 8:48 PM, Peter Neumark <span dir="ltr"><<a href="mailto:neumark.peter@gmail.com">neumark.peter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm in the process of writing one now, but I'm not sure when it will<br>
be finished.<br>
If all goes well maybe sometime this week.<br>
<font color="#888888"><br>
Peter<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, Jun 17, 2011 at 11:09 PM, Anthony Molinaro<br>
<<a href="mailto:anthonym@alumni.caltech.edu">anthonym@alumni.caltech.edu</a>> wrote:<br>
> I don't believe so, currently only base64 and binary protocols.  However,<br>
> if you feel like taking on creation of this protocol, I'm willing to look<br>
> it over and possibly merge it (I'm a maintainer/committer).<br>
><br>
> -Anthony<br>
><br>
> On Fri, Jun 17, 2011 at 09:39:59PM +0100, Joel Reymont wrote:<br>
>> Do Erlang bindings for Thrift support TJSONProtocol?<br>
>><br>
>> <a href="http://sundresh.org/docs/thrift-0.2.0-javadoc/org/apache/thrift/protocol/TJSONProtocol.html" target="_blank">http://sundresh.org/docs/thrift-0.2.0-javadoc/org/apache/thrift/protocol/TJSONProtocol.html</a><br>

>><br>
>> --------------------------------------------------------------------------<br>
>> - for hire: mac osx device driver ninja, kernel extensions and usb drivers<br>
>> ---------------------+------------+---------------------------------------<br>
>> <a href="http://wagerlabs.com" target="_blank">http://wagerlabs.com</a> | @wagerlabs | <a href="http://www.linkedin.com/in/joelreymont" target="_blank">http://www.linkedin.com/in/joelreymont</a><br>
>> ---------------------+------------+---------------------------------------<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
>> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
> --<br>
> ------------------------------------------------------------------------<br>
> Anthony Molinaro                           <<a href="mailto:anthonym@alumni.caltech.edu">anthonym@alumni.caltech.edu</a>><br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
</div></div></blockquote></div><br></div></div>