Json to Php
Convert Json data to Php class definitions.
How to setup
- Download the Jtp program from the release page, which you can find here.
- Open your command palette
- Lookup
Jtp: Set php path and select your php binary file (php 8.2 or greater).
- Lookup
Jtp: Set jtp path and select your jtp.phar file.
- Open a json file (make sure the file's root is not an array but a proper json object).
- Run
Jtp: Convert current file from your command palette.
| |