This package is abandoned and no longer maintained. No replacement package was suggested.

Class wrapper for daverandom/exceptional-json

4.0.1 2022-01-21 18:18 UTC


This class add a class wrapper around daverandom/exceptional-json to make mocking easier.

Latest Stable Version Latest Unstable Version License

Code Status

codecov Average time to resolve an issue Percentage of issues still open


This library requires PHP 7.4+.


Run the command below to install via Composer

composer require mimmi20/json-class


$json    = new \JsonClass\Json();
$decoded = $json->decode();

See also daverandom/exceptional-json's documentation

Issues and feature requests

Please report your issues and ask for new features on the GitHub Issue Tracker at https://github.com/mimmi20/json-class/issues