-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-678da2adc0 2023-04-20 02:53:04.598443 -------------------------------------------------------------------------------- Name : php-netresearch-jsonmapper Product : Fedora 37 Version : 4.2.0 Release : 1.fc37 URL : https://github.com/cweiske/jsonmapper Summary : Map nested JSON structures onto PHP classes 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 -------------------------------------------------------------------------------- Update Information: ** Version 4.2.0** * Add support for backed enums * Undefined property handler may return string to override variable name * Support ArrayAccess instead of only ArrayObject * map() supports class names as 2nd parameter now * Add support for variadic method arguments in setters -------------------------------------------------------------------------------- ChangeLog: * Tue Apr 11 2023 Remi Collet <remi@xxxxxxxxxxxx> - 4.2.0-1 - update to 4.2.0 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-678da2adc0' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue