dev-master
9999999-devA PHP JSON parser with Error Control
MIT
The Development Requires
by Simon Rogers
v1.0.0
1.0.0.0A PHP JSON parser with Error Control
MIT
The Development Requires
by Simon Rogers
A PHP JSON parser with Error Control
This package allows for Error Handling while encoding and decoding JSON., (*1)
To install through composer include the package in your composer.json
., (*2)
"midnite81/json-parser": "^1.0.0"
Run composer install
or composer update
to download the dependencies or you can run composer require midnite81/json-parser
., (*3)
use Midnite81\JsonParser\JsonParse; public function returnData() { // your encoded data $myData = '{"message":"Hello World"}'; try { JsonParse::decode($myData); } catch (JsonException $e) { die('Something went wrong: ' . $e->getMessage()); } }
A PHP JSON parser with Error Control
MIT
A PHP JSON parser with Error Control
MIT