Registry / serialization / daverandom-exceptional-json

daverandom-exceptional-json

JSON →
library1.0.4phppackagistunverified

JSON encoding and decoding that throws exceptions on failure.

composer require daverandom/exceptional-json
INSTALL
IMPORT
SIG · DAVERANDOM-EXCEPTI
D
daverandom-exceptional-json
serializationphpv1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Decoder
use DaveRandom\ExceptionalJSON\Decoder;

Decode a JSON string with exception handling.

use DaveRandom\ExceptionalJSON\Decoder; $decoder = new Decoder(); $data = $decoder->decode('{"key":"value"}');
Debug
Known issues
breakingRequires PHP 7.0+ for exception handling features.
fix
Ensure your PHP version is 7.0 or higher.
affects: >=1.0.0
Upgrade
Version history
1.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
daverandom-exceptional-json — pip install daverandom-exceptional-json · libregistry