Download the PHP package wizaplace/json-decoder without Composer
On this page you can find all versions of the php package wizaplace/json-decoder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wizaplace/json-decoder
More information about wizaplace/json-decoder
Files in wizaplace/json-decoder
Download wizaplace/json-decoder
More information about wizaplace/json-decoder
Files in wizaplace/json-decoder
Vendor wizaplace
Package json-decoder
Short Description Throw an exception when json_decode() fails to decode a JSON and validate decoded data.
License MIT
Package json-decoder
Short Description Throw an exception when json_decode() fails to decode a JSON and validate decoded data.
License MIT
Please rate this library. Is it a good library?
Informations about the package json-decoder
Json-Decoder
Json Decoder Component
How to decode json
Do not use json_decode()
, before PHP 7.3 you have to manually throw exception when decode fail.
Create a JsonDecoder
You should create a class for each json you need to decode, who extends Wizacha\Json\Decoder\AbstractJsonDecoder
.
Your class should configure AbstractJsonDecoder:
Use your JsonDecoder to decode json
If your JsonDecoder don't need dependencies, you could instanciate it manually:
If it need dependencies, register it as Symfony service and use it:
All versions of json-decoder with dependencies
PHP Build Version
Package Version
The package wizaplace/json-decoder contains the following files
Loading the files please wait ....