Open
Description
It youd be nice to have
in this line
https://github.com/FluidTYPO3/vhs/blob/development/Classes/ViewHelpers/Format/Json/EncodeViewHelper.php#L131
the possablity to format the Output:
$json = json_encode($value, JSON_HEX_AMP | JSON_HEX_QUOT | JSON_HEX_APOS | JSON_HEX_TAG | JSON_PRETTY_PRINT );
May as an Optional argument like "Options" so the json_encode() is called like 👍
$json = json_encode($value, JSON_HEX_AMP | JSON_HEX_QUOT | JSON_HEX_APOS | JSON_HEX_TAG $options );
Metadata
Assignees
Labels
No labels
Activity