+1 very useful in development, should go into the core imho. Peter
----- Original Message ----- From: "Howard Lewis Ship" <hls...@gmail.com> To: "Tapestry users" <users@tapestry.apache.org> Sent: Wednesday, 24 February, 2010 04:31:13 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Pretty Printing JSON I like the idea of PP JSON; it will make the JS code block easier to read. However, I also like the idea that it can be turned off (by default) in production. Suddenly, it sounds like a service that can be passed a JSONObject to be pretty-printed ... or a method on JSONObject that takes a parameter or two to guide the process. Whatcha thing? On Tue, Feb 23, 2010 at 4:38 PM, Ben Dotte <ben.do...@gmail.com> wrote: > I put up a post on pretty printing the JSON that gets output on the > bottom of the generated HTML by Tapestry: > > http://bdotte.blogspot.com/2010/02/pretty-printing-json-in-tapestry-5.html > > I'm not sure if there is any interest in having this functionality > available in the actual Tapestry codebase; I could look into > (attempting) to clean it up if there is. In any case it has been handy > for me, so I thought I'd post it. > > Ben > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org