add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/common/json5.md Normal file
View File

@@ -0,0 +1,28 @@
# json5
> 将 JSON5 文件转换为 JSON。
> 更多信息:<https://json5.org>。
- 将 JSON5 `stdin` 转换为 JSON `stdout`
`echo {{input}} | json5`
- 将 JSON5 文件转换为 JSON 并输出到 `stdout`
`json5 {{path/to/input_file.json5}}`
- 将 JSON5 文件转换为指定的 JSON 文件:
`json5 {{path/to/input_file.json5}} --out-file {{path/to/output_file.json}}`
- 验证 JSON5 文件:
`json5 {{path/to/input_file.json5}} --validate`
- 指定缩进的空格数(或使用 "t" 表示制表符):
`json5 --space {{indent_amount}}`
- 显示帮助信息:
`json5 --help`