Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-netresearch-jsonmapper - Map nested JSON structures onto PHP classes

Website:
https://github.com/cweiske/jsonmapper
Licence:
OSL 3.0
Vendor:
Remi Collet
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

Packages

php-netresearch-jsonmapper-1.6.0-1.remi.src [37 KiB] Changelog by Remi Collet (2019-08-19):
- update to 1.6.0
- drop patch merged upstream
php-netresearch-jsonmapper-1.5.2-1.remi.src [36 KiB] Changelog by Remi Collet (2019-08-08):
- update to 1.5.2
- add patch for PHP 7.4 from
  https://github.com/cweiske/jsonmapper/pull/131
php-netresearch-jsonmapper-1.5.1-1.remi.src [35 KiB] Changelog by Remi Collet (2019-07-09):
- update to 1.5.1
php-netresearch-jsonmapper-1.5.0-1.remi.src [35 KiB] Changelog by Remi Collet (2019-07-08):
- update to 1.5.0
php-netresearch-jsonmapper-1.4.0-1.remi.src [35 KiB] Changelog by Remi Collet (2018-01-22):
- Update to 1.4.0
- use phpunit6 on F26+
- sources from git snapshot