The question is... why you need access stash data when $c->render(json => \@commandsets) convert your perl data into JSON?
*Daniel Vinciguerra (@dvinciguerra)* Web solution architect, perl dev, vegetarian, geek and co-founder at *Bivee* bivee.com.br - github.com/Bivee On 8 December 2014 at 08:04, MarcG <[email protected]> wrote: > Thank you very much for your response. Yes I was trying to get it working > with json as you described but I was having issue decoding it on the client > side. > > Do you know why I can't see my array in the stash unless I render html at > the end of my function? > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" 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/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" 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/mojolicious. For more options, visit https://groups.google.com/d/optout.
