Will post the code on the mailing list once I get it working. Thanks
for the help :)


On Jun 7, 10:10 pm, "Yariv Sadan" <[EMAIL PROTECTED]> wrote:
> There's also a json module in Yaws (but feel free to use whichever you
> like better). The way I would use it is as follows:
>
> {response, [{html, json:encode({array, ["foo", "bar", {struct,
> [{"key", "val"}]}]})}]}
>
> Yariv
>
> On Sat, Jun 7, 2008 at 7:13 AM, Dan Bravender <[EMAIL PROTECTED]> wrote:
>
> > I know that there is a json module in mochiweb:
> >http://code.google.com/p/mochiweb/source/browse/trunk/src/mochijson.erl.
> > Let me know if you get it working in erlyweb :-).
>
> > Cheers,
> > Dan
>
> > On Jun 3, 3:20 am, Abhijith <[EMAIL PROTECTED]> wrote:
> >> Hi all,
> >>   I want to serve/render json from erlyweb controllers. Czn somebody
> >> please help me out with this or point me to some resource.
>
> >> --
> >> Regards
> >> Abhijith
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to