def Serialize(obj):
  try:
    return json.dumps(obj)
  except TypeError as e:
    raise SerializeError(e)
Return a binary serialized version of object.
dataset/ETHPy150Open google/simian/src/simian/mac/common/util.py/Serialize