[TYPO3-mvc] 3 questions reagarding fluid and extbase
Kay Strobach
typo3 at kay-strobach.de
Wed Dec 1 19:26:40 CET 2010
Hello Franz,
> is it an option to convert your json object to an array? It might not
> contain any logic anyway, does it? So a simply "toArray" or something
> should help to be able to use it in fluid again. You could also map it
> to a empty domainObject that's reflecting your json object.
>
$t = (array)json_decode($resultsPlain);
works for simple iterable lists of strings. But i do have arrays and
objects structured with deep recursions :(
How would you map it to a empty domainObject?
Thanks
Kay
More information about the TYPO3-project-typo3v4mvc
mailing list