json-class
This class add a class wrapper around daverandom/exceptional-json to make mocking easier.
Code Status
Requirements
This library requires PHP 7.4+.
Installation
Run the command below to install via Composer
composer require mimmi20/json-class
Usage
$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