parameters: (obj)
return_statement: return json.dumps(obj, cls=CJsonEncoder)
docstring: py字典、数据转成json字符转
docstring_summary: py字典、数据转成json字符转
docstring_tokens: py字典、数据转成json字符转
function: def object_2_json(obj):
      '''
      py字典、数据转成json字符转
      '''
      if obj is None:
          obj = {}
      return json.dumps(obj, cls=CJsonEncoder)
function_tokens: def object_2_json ( obj ) : if obj is None : obj = { } return json . dumps ( obj , cls = CJsonEncoder )