Skip to content

Commit 7122245

Browse files
committed
Update README.md
1 parent 78c0c66 commit 7122245

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ __将Json转为等价的PHP array表示__
44

55
## Usage
66

7+
### 1. 使用可执行文件
8+
9+
Release中提供了用pyinstaller打包的适用于macOS的可执行文件,直接下载即可使用
10+
11+
```shell
12+
# 查看帮助
13+
./json2array -h
14+
```
15+
16+
### 2. 源码运行
17+
718
1. 安装Python3,此项目仅使用了Python标准库,所以无需安装依赖
819
2. 在当前目录新建文件`input.json`,向其中写入要转换json
920
3. 执行`python3 main.py`,即可打印出输入json对应的PHP array表示

0 commit comments

Comments
 (0)