Skip to content

Files

Latest commit

eece056 · Mar 12, 2024

History

History
22 lines (14 loc) · 544 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 544 Bytes

Json to PHP Array

中文

Convert Json to PHP array

Usage

1. Run with the pre-built executable

Download executable from the release page, and run directly:

# check for help messages
./json2array -h

2. Run with source

  1. Install python3. No third-party dependency needs to be installed, because only python standard libs were used in this program
  2. Create a file named input.json, and write json into it
  3. Run python3 main.py