[erlang-questions] erlang thrit bindings and TJSONProtocol

Peter Neumark <>
Mon Jun 27 20:50:45 CEST 2011


I finished a thrift json protocol implementation for erlang:
My implementation of the protocol may be found here:
https://github.com/postlock/thrift/blob/trunk/lib/erl/src/thrift_json_protocol.erl
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:
https://github.com/postlock/thrift/blob/trunk/tutorial/erl/json_client.erl
Finally, it should be noted that the code depends on JSX:
https://github.com/talentdeficit/jsx

I haven't had time to run a huge amount of tests on it yet, but the tutorial
seems to work fine.
Improvements are welcome!

Peter Neumark

On Sun, Jun 19, 2011 at 8:48 PM, Peter Neumark <>wrote:

> I'm in the process of writing one now, but I'm not sure when it will
> be finished.
> If all goes well maybe sometime this week.
>
> Peter
>
>
> On Fri, Jun 17, 2011 at 11:09 PM, Anthony Molinaro
> <> wrote:
> > I don't believe so, currently only base64 and binary protocols.  However,
> > if you feel like taking on creation of this protocol, I'm willing to look
> > it over and possibly merge it (I'm a maintainer/committer).
> >
> > -Anthony
> >
> > On Fri, Jun 17, 2011 at 09:39:59PM +0100, Joel Reymont wrote:
> >> Do Erlang bindings for Thrift support TJSONProtocol?
> >>
> >>
> http://sundresh.org/docs/thrift-0.2.0-javadoc/org/apache/thrift/protocol/TJSONProtocol.html
> >>
> >>
> --------------------------------------------------------------------------
> >> - for hire: mac osx device driver ninja, kernel extensions and usb
> drivers
> >>
> ---------------------+------------+---------------------------------------
> >> http://wagerlabs.com | @wagerlabs |
> http://www.linkedin.com/in/joelreymont
> >>
> ---------------------+------------+---------------------------------------
> >>
> >>
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> 
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >
> > --
> > ------------------------------------------------------------------------
> > Anthony Molinaro                           <>
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110627/b60376a4/attachment.html>


More information about the erlang-questions mailing list