PHP code example of bim / json-to-table
1. Go to this page and download the library: Download bim/json-to-table library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bim / json-to-table example snippets
$json = '{... your json as string ...}';
$jsonPath = '[$.your.jsonpath.1,$.your.jsonpath.2]';
$jsonObject = new JsonObject($json);
$result = $jsonObject->getTable($jsonPath);