Registry / serialization / zendframework-zend-json

zendframework-zend-json

JSON →
library3.1.2phppackagistunverified

Provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP

composer require zendframework/zend-json
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-json
serializationphpv3.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Json
use Laminas\Json\Json;

Encode and decode JSON data

use Laminas\Json\Json; $encoded = Json::encode(['foo' => 'bar']); $decoded = Json::decode($encoded);
Debug
Known issues
breakingThis package is part of the Zend Framework, which has been migrated to Laminas. The namespace has changed from Zend\Json to Laminas\Json.
fix
Use laminas/laminas-json instead and update use statements accordingly.
affects: >=2.0.0
Upgrade
Version history
3.1.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
27
OpenAI (training)
1
Resources
zendframework-zend-json — pip install zendframework-zend-json · libregistry