def assertBackAndForth(self, obj):
    jsonable = thrift2json(obj)
    back = jsonable2thrift(jsonable, type(obj))
    self.assertEquals(obj, back)
Wrap private values in JSON decoded structure.
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/thrift_util_test.py/TestJsonable2Thrift.assertBackAndForth--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/jqueue/exec.py/RestorePrivateValueWrapping