Mon, 09 Nov 2026 05:56:41 UTC Log in
Map nested JSON structures onto PHP classes, version 5 53.40 KB built 2026-10-29 13:10:54 GMT

Description

Takes data retrieved from a JSON web service and converts them into nested object and arrays - using your own model classes. Starting from a base object, it maps JSON data on class properties, converting them into the correct simple types or objects. It's a bit like the native SOAP parameter mapping PHP's SoapClient gives you, but for JSON. It does not rely on any schema, only your PHP class definitions. Type detection works by parsing @var docblock annotations of class properties, as well as type hints in setter methods. You do not have to modify your model classes by adding JSON specific code; it works automatically by parsing already-existing docblocks. Autoloader: /usr/share/php/netresearch/jsonmapper/autoload.php

Dependencies

11 total
Requires10
  • php(language) >= 7.1
  • php-date
  • php-fedora-autoloader-devel
  • php-json
  • php-pcre
  • php-reflection
  • php-spl
  • phpunit10
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • php-netresearch-jsonmapper = 5.0.1-1.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

3
Files 1–3 of 3

Component of

buildroots that installed this RPM

No Buildroots