Download the PHP package daverandom/exceptional-json without Composer
On this page you can find all versions of the php package daverandom/exceptional-json. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download daverandom/exceptional-json
More information about daverandom/exceptional-json
Files in daverandom/exceptional-json
Download daverandom/exceptional-json
More information about daverandom/exceptional-json
Files in daverandom/exceptional-json
Vendor daverandom
Package exceptional-json
Short Description JSON encoding and decoding that throws exceptions on failure
License MIT
Package exceptional-json
Short Description JSON encoding and decoding that throws exceptions on failure
License MIT
Please rate this library. Is it a good library?
Informations about the package exceptional-json
Exceptional JSON
Thin wrapper around PHP's json_encode()
and json_decode()
functions, which throws exceptions when an operation fails.
Required PHP Version
- PHP 7.0+
Installation
Usage
Call the \ExceptionJSON\encode()
and \ExceptionJSON\decode()
functions in exactly the same way as you would with
json_encode()
and json_decode()
. The only difference is that they will throw an exception if the operation fails.
Also defines json_try_encode()
and json_try_decode()
in the root namespace if they don't already exist, these are
simply aliases of their namespaced counterparts.
All versions of exceptional-json with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package daverandom/exceptional-json contains the following files
Loading the files please wait ....