Convert Json to PHP array
Download executable from the release page, and run directly:
# check for help messages
./json2array -h
- Install python3. No third-party dependency needs to be installed, because only python standard libs were used in this program
- Create a file named
input.json
, and write json into it - Run
python3 main.py