schmittjoh/JMSSerializerBundle — comment on commit bf10c3ede2eb1907b756ec59114b38fc341d9d98
File: Twig/SerializerExtension.php line 45
By weaverryan:

You *could* mark this as safe, then it wouldn't need to be filtered raw:

'serialize' => new Twig_Filter_Method($this, 'serialize', array(
'is_safe' => array('all'),
)),