The json_encode filter returns the JSON representation of a value: {{ data|json_encode() }}. Note. Internally, Twig uses the PHP json_encode function.
確定! 回上一頁