Demjson 是 python 的第三方模块库,可用于编码和解码 JSON 数据,包含了 JSONLint 的格式化及校验功能。
Github 地址:https://github.com/dmeranda/demjson
进入终端,下载demjson,输入命令:
git clone https://github.com/dmeranda/demjson.git
cd demjson/
python setup.py install
报错:error,Permission denied...
解决方法:
su root
输入密码,进入root权限,重新安装,python setup.py install