def jsonable2thrift(jsonable, thrift_class):
 return _jsonable2thrift_helper(jsonable, TType.STRUCT, (thrift_class, thrift_class.thrift_spec), default=None, recursion_depth=0)

def jsonable2thrift ( jsonable , thrift_class ) : return _jsonable2thrift_helper ( jsonable , TType . STRUCT , ( thrift_class , thrift_class . thrift_spec ) , default = None , recursion_depth = 0 )
converts a json-able x that represents a thrift struct into the struct .