#!/usr/bin/env php validate(json_decode($json_str)); } catch (\Exception $e) { echo "File: $json_path\n"; echo $e->getMessage(); die(1); }