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)
