[TYPO3-mvc] Making JSON data from object

Roland most.wanted at gmx.at
Fri Nov 16 11:57:29 CET 2012


hi claus,

> if i use @lazy on an accociated object/object storage only empty
> brackets will be shown in the json object.

empty brackets only show up on associated *objects* annotated with 
@lazy. all attributes of an associated *object storage* will be shown - 
even if it is annotated with @lazy.

wouldn't it make more sense if only the uid of lazyloaded associated 
objects would be put into the resulting json object? (regardless if it 
is an object or an object storage)

kind regards

roland


More information about the TYPO3-project-typo3v4mvc mailing list