[FEATURE] Enable recursive transformation of properties in JsonView
The new property '_recursive' allows to define recursive properties of objects. These properties are transformed automatically, without the need to define every entry level manually. Objects can contain a list of the same type like themselves. Examples could be folders containing folders or comments having comments as replies. Resolves: #90347 Releases: master Change-Id: I29b34cf3666c5ad142e51371240501cb85941b5a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63181 Tested-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-90347-EnableRecursiveTransformationOfPropertiesInJsonView.rst 51 additions, 0 deletions...7-EnableRecursiveTransformationOfPropertiesInJsonView.rst
- typo3/sysext/extbase/Classes/Mvc/View/JsonView.php 17 additions, 3 deletionstypo3/sysext/extbase/Classes/Mvc/View/JsonView.php
- typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php 178 additions, 2 deletionstypo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php
Please register or sign in to comment