Format.json ViewHelper <f:format.json>
Wrapper for PHPs
json_ function.
See https://www.php.net/manual/function.json-encode.php.
Go to the source code of this ViewHelper: Format\JsonViewHelper.php (GitHub).
Arguments of the <f:format.json> ViewHelper
forceObject
-
- Type
- bool
- Default
- false
Outputs an JSON object rather than an array
value
-
- Type
- mixed
The incoming data to convert, or null if VH children should be used