We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 );
The text was updated successfully, but these errors were encountered:
Add support to pretty-print JSON-output
f16955e
Optionally add JSON_PRETTY_PRINT to json_encode-options. Resolves: FluidTYPO3#1571
6ec8156
Add option-parameter to pass to json_encode
13f6e01
Resolves: FluidTYPO3#1571
Successfully merging a pull request may close this issue.
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 );
The text was updated successfully, but these errors were encountered: