Registry / serialization / netresearch-jsonmapper

netresearch-jsonmapper

JSON →
library5.0.1phppackagistunverified

Map nested JSON structures onto PHP classes

composer require netresearch/jsonmapper
INSTALL
IMPORT
SIG · NETRESEARCH-JSONMA
N
netresearch-jsonmapper
serializationphpv5.0.1
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.

JsonMapper
use JsonMapper\JsonMapper;

Map a JSON object to a PHP class instance.

use JsonMapper\JsonMapper; $mapper = new JsonMapper(); $object = $mapper->map(json_decode($json), new MyClass());
Debug
Known issues
breakingRequires PHP 7.4+ for typed properties; older versions may fail.
fix
Ensure PHP version compatibility or use @var annotations.
affects: >=5.0.0
Upgrade
Version history
5.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
netresearch-jsonmapper — pip install netresearch-jsonmapper · libregistry