Skip to content

walledata/json-to-php-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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