thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Hegde <anandghe...@gmail.com>
Subject Doubt about thrift
Date Sat, 09 Jun 2012 12:03:04 GMT
I am trying to understand thrift.

I want to convert a hash to thrift object, is that possible? ( just like
how you convert a hash to json or yaml )

If yes, can you show me how this example hash will look like in thrift
format?

    a = {:first_key=>
        [{:x=>"some_x",
          :y=>"some_y"
          }], :second_key=> "some other value"}

are there any standard methods that will do this for me in ruby? (just like
.to_json and .to_yaml)

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