quicktype一键生成DRF模型 quicktupe 是一款根据json文本生成指定语言类型声明的代码工具 安装方法 npm install - g quicktype 生成命令 echo ‘{“god”:""}’ | quicktype --all-properties-optional -o a.py Github地址 https://github.com/quicktype/quicktype