Ich würde das stringent innerhalb des Frameworks durchziehen, also M-V-C 
basiert, dann hast du eine flexibel einsetzbare Lösung...

-----Ursprüngliche Nachricht-----
Von: typo3-german-boun...@lists.typo3.org 
[mailto:typo3-german-boun...@lists.typo3.org] Im Auftrag von Claus Fassing
Gesendet: Dienstag, 15. Mai 2012 09:18
An: typo3-german@lists.typo3.org
Betreff: Re: [TYPO3-german] extbase mit ajax und json

Hallo Martin,

Am 14.05.12 23:20, schrieb Martin Hummer:
> nun meine frage:
> gibt es für extbase entities etwas vergleichbares zu json_encode() für Arrays 
> ?
> oder kann ich json_encode() irgendwie auf ein entity-object anwenden.

schreib Dein Objekt doch auf ein array und encode dann. Das wird doch 
serialisiert.

Grüße Claus
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an