Re: Pretty Printing JSON

2010-05-21 Thread Howard Lewis Ship
By "nice enough" he means "paid to". A lot of the goodness in Tapestry 5.2 is coming in paid for by Ben's company, Widen. Hats off to them! On Fri, May 21, 2010 at 12:01 PM, Ben Dotte wrote: > For anyone who's looking for json pretty-printing in development mode, > Howard was nice enough to imp

Re: Pretty Printing JSON

2010-05-21 Thread Ben Dotte
For anyone who's looking for json pretty-printing in development mode, Howard was nice enough to implement this and it is now available in the latest Tapestry 5.2 snapshots. Ben On Wed, Feb 24, 2010 at 4:44 AM, Ville Virtanen wrote: > > Hi, > > this definitely sounds something T5 should do as it

Re: Pretty Printing JSON

2010-02-24 Thread Ville Virtanen
Hi, this definitely sounds something T5 should do as it is known to be developer friendly and aid in debugging whenever possible. It sounds good to enable this in non-production mode and disable in production. - Ville Ben Dotte-2 wrote: > > I put up a post on pretty printing the JSON that

Re: Pretty Printing JSON

2010-02-23 Thread Peter Stavrinides
+1 very useful in development, should go into the core imho. Peter - Original Message - From: "Howard Lewis Ship" To: "Tapestry users" Sent: Wednesday, 24 February, 2010 04:31:13 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Pretty Printing JSON I

Re: Pretty Printing JSON

2010-02-23 Thread Howard Lewis Ship
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 paramete