thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Stein <joe.st...@medialets.com>
Subject Python TJSONProtocol ??? 0.2.0
Date Thu, 07 Oct 2010 04:09:11 GMT
Hi, is there a Python implementation of the TJSONProtocol for 2.0 or in
other version that i can use for 2.0 (compiling it in)?

Also, something in Python like the TIOStreamTransport or
TSimpleFileTransport?

Assuming there isn't I am debating in my own head if it is going to be
faster to

1) write some c++ client with TSimpleFileTransport get the JSON (or in java
with the TIOStreamTransport) and turn it into binary and send it over socket
to a Python server so i can parse our data in Python (since we have it in
JSON and already working c++ & java implementations).

or

2) Implement the TJSONProtocol and some type of TSomethingFileTransport in
Python

#2 is much more appealing (perhaps a solution already exists??) but not sure
where to start to-do this... is there some code to look at i can use to
modify into this? would be happy to contribute it back once I am done if it
comes to that.

Thanks!

/*
Joe Stein, 973-944-0094
http://www.medialets.com
Twitter: @allthingshadoop
*/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message