返回json数据
    :param encoding:
    :param ensure_ascii:
    :param sort_keys:
    :param indent:
    :param dict_data:
    :return:

def dumps(dict_data, ensure_ascii=True, indent=None,
          sort_keys=False, encoding='utf-8', **kwargs):
    """
    返回json数据
    :param encoding:
    :param ensure_ascii:
    :param sort_keys:
    :param indent:
    :param dict_data:
    :return:
    """

    return json.dumps(dict_data, default=json_default,
                      ensure_ascii=ensure_ascii, indent=indent,
                      sort_keys=sort_keys, encoding=encoding, **kwargs)