couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Finkler" <funkat...@gmail.com>
Subject Re: Appending "\n" and pretty printing output from the command line using curl (with a smidge of python)
Date Thu, 21 Aug 2008 02:13:04 GMT
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 <nslater@apache.org> 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/
>

Mime
View raw message