json2yaml:将 JSON 转换为 YAML,反之亦然,同时保留关联数组的顺序

时间:2021-06-18 12:22:35
【文件属性】:
文件名称:json2yaml:将 JSON 转换为 YAML,反之亦然,同时保留关联数组的顺序
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-18 12:22:35
Python json2yaml 用于在 JSON 和 YAML 之间转换同时保留关联数组顺序的命令行实用程序。 保留映射顺序有助于人类阅读文档,尽管不会影响其含义。 安装 pip install json2yaml 用法 json2yaml input.json output.yaml yaml2json input.yaml output.json $ json2yaml --help Usage: json2yaml (--version|--help) json2yaml [] [] Arguments: The input file containing the JSON to convert. If not specified, reads fro
【文件预览】:
json2yaml-master
----NOTICE(581B)
----bin()
--------json2yaml(2KB)
--------yaml2json(3KB)
----LICENSE(11KB)
----setup.cfg(40B)
----setup.py(836B)
----.gitignore(49B)
----README.md(2KB)

网友评论