Agreed on both. -- Ed Finkler http://funkatron.com AIM: funka7ron ICQ: 3922133 Skype: funka7ron
On Wed, Aug 20, 2008 at 10:04 PM, Noah Slater <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 06:50:36PM -0700, Chris Anderson wrote: >> I'd like to have pretty-print JSON also. It might be an easy flag to >> add to the json:encode function. > > Please note there are two separate issues here: > > * Ending the output with a newline character, which according to POSIX is the > required way to signal an End of File (for non-binary formats) and should be > the default > > * Pretty printing the data, which is nice but should not be the default > > Best, > > -- > Noah Slater, http://people.apache.org/~nslater/ >
