From couchdb-user-return-1084-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Thu Aug 21 01:21:04 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 95891 invoked from network); 21 Aug 2008 01:21:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2008 01:21:03 -0000 Received: (qmail 77286 invoked by uid 500); 21 Aug 2008 01:21:01 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 77253 invoked by uid 500); 21 Aug 2008 01:21:01 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 77242 invoked by uid 99); 21 Aug 2008 01:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 18:21:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of funkatron@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 01:20:02 +0000 Received: by wf-out-1314.google.com with SMTP id 27so687732wfd.21 for ; Wed, 20 Aug 2008 18:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fr+v+Y65Ur7b0fVoVPzHdNTfibfa3V3oDy9XQXR35ek=; b=qalwBiBxx8/FoMOuCPVU05SZoGtqamEL9Qr0tErHARYIG8g1v3Gp408kI/RAUvvvD4 rLTdL8bRHPhresBwfkgAndq3Dih6ztpGJVvi1ccdBAWY2rkMXgTSx+U6KJloz+U11ZYZ WSUQbgESDXi5lzK4Y/4Ot5sq9QXFIqSMzOPrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Vb5vy5lg1r2uGPWd5o5yoO6+UIE59jIBKaznpngzB1RVMsUd2TyTO5qPxvyDEcFpXx eHfT5zAfz4LCYQKT8i0/3MxONZHF8h/GqkZY+BCr3xAE3dy2wXJIvToxjG33dM1c/5WP xiKG8P8uBz+FFL2u9KVzJJdAfzOiW638QOGhc= Received: by 10.142.238.12 with SMTP id l12mr274542wfh.204.1219281621692; Wed, 20 Aug 2008 18:20:21 -0700 (PDT) Received: by 10.142.135.3 with HTTP; Wed, 20 Aug 2008 18:20:21 -0700 (PDT) Message-ID: <5e0220e30808201820w1d504205m65753db3310bae71@mail.gmail.com> Date: Wed, 20 Aug 2008 21:20:21 -0400 From: "Ed Finkler" To: couchdb-user@incubator.apache.org Subject: Re: Appending "\n" and pretty printing output from the command line using curl (with a smidge of python) In-Reply-To: <20080821011003.GC5463@bytesexual.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <53b9568a0808201104h19b5e08dyd96b98d1d670144b@mail.gmail.com> <20080821011003.GC5463@bytesexual.org> X-Virus-Checked: Checked by ClamAV on apache.org I am in no way a committer, but I would really love an option to get *formatted* output similar to what JSONlint.com spits out. It's so much easier to parse with the eyes. -- Ed Finkler http://funkatron.com AIM: funka7ron ICQ: 3922133 Skype: funka7ron On Wed, Aug 20, 2008 at 9:10 PM, Noah Slater wrote: > On Wed, Aug 20, 2008 at 01:04:49PM -0500, Jason Huggins wrote: >> I was thinking about creating a patch to add a "\n" at the end of >> every request, but I figured that would be a request of last resort. > > I did this very patch about 6 months ago but it was rejected and I can't quite > remember why. Now that we're at the ASF I would like to call an informal vote. > > Fellow committers, what say ye to adding a trailing \n to JSON output? > > Best, > > -- > Noah Slater, http://people.apache.org/~nslater/ >