Hi Dominik, I think you want to look at JMS Serializer: http://jmsyst.com/libs/serializer
-- Jasper N. Brouwer (@jaspernbrouwer) On 5 September 2014 at 08:41:11, Dominik Barann ([email protected]) wrote: > what and where is the best way to convert a doctrine entity to an array? > > I have a controller where i have to return the entity as json, and receive > my entity object from a service layer which is injected into the controller. > > Thanks and regards > Dominik -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
