[TYPO3-mvc] Making JSON data from object

Claus Due claus at wildside.dk
Thu Nov 15 17:54:53 CET 2012


> $annotationName defaults to 'json' which means that any property in your Model will be exported to JSON:

…should read:

$annotationName defaults to 'json' which means that any property which has the @json annotation will be exported to an array, which can then be converted to a JSON string.

That hopefully is a bit clearer.

Cheers,
Claus


More information about the TYPO3-project-typo3v4mvc mailing list