Download the PHP package yiisoft/json without Composer
On this page you can find all versions of the php package yiisoft/json. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor yiisoft
Package json
Short Description json
License BSD-3-Clause
Homepage http://www.yiiframework.com/
Package json
Short Description json
License BSD-3-Clause
Homepage http://www.yiiframework.com/
Keywords json
Please rate this library. Is it a good library?
Informations about the package json
Yii JSON
The package provides methods to encode and decode JSON.
- It always throws
\JsonException
instead of returning false on error. - It has sensible defaults, so you don't have to specify flags all the time.
- It has handy method to encode for HTML safely.
- It handles
\JsonSerializable
,\DateTimeInterface
, and\SimpleXMLElement
well.
Requirements
- PHP 7.4 or higher.
JSON
PHP extension.SimpleXML
PHP extension.
Installation
The package could be installed with Composer:
General usage
Encoding:
Encoding for HTML:
Decoding:
Documentation
- Internals
If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.
License
The Yii JSON is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.
Support the project
Follow updates
All versions of json with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
The package yiisoft/json contains the following files
Loading the files please wait ....