[TYPO3-50-general] How to get JSON View

Andreas Lappe nd at off-pist.de
Fri Oct 30 09:38:16 CET 2009


On 29.10.09, Robert Lemke wrote:
> Another way to display alternative formats (rss feeds for example)
> is to use Fluid for
> them as well. This isn't true for JSON (yet) because some logic
> needs to convert
> PHP arrays and objects to JSON, but it'll probably help you with
> other formats.
> 
> See http://forge.typo3.org/repositories/entry/package-blog/trunk/Resources/Private/Templates/Post/index.rss.xml
> for an example.
> Robert

Hey Robert,

thanks for this. I would use this method for all xml based formats...
but for javascript I prefer to use JSON as often as possible.

So long
Andy
-- 
[über den Menschen]
,,Auf jetzt, zuerst gehen wir und bauen eine Spiegelfabrik und stellen
ein Jahr nichts als Spiegel her, um uns ausgiebig darin zu betrachten.´´
			-Ray Bradbury, Fahrenheit 451


More information about the TYPO3-project-5_0-general mailing list