Re: additional json functionality - Mailing list pgsql-hackers

From Robert Haas
Subject Re: additional json functionality
Date
Msg-id CA+TgmoaERPm7YT0bxi_c1dvoz5sWGzRWzwcAFRtj0oCFhrUpFQ@mail.gmail.com
Whole thread Raw
In response to Re: additional json functionality  (Hannu Krosing <hannu@2ndQuadrant.com>)
Responses Re: additional json functionality  ("David E. Wheeler" <david@justatheory.com>)
Re: additional json functionality  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
List pgsql-hackers
On Thu, Nov 14, 2013 at 2:54 PM, Hannu Krosing <hannu@2ndquadrant.com> wrote:
> I am sure you could also devise an json encoding scheme
> where white space is significant ;)

I don't even have to think hard.  If you want your JSON to be
human-readable, it's entirely possible that you want it stored using
the same whitespace that was present on input.  There is a valid use
case for normalizing whitespace, too, of course.

Everyone on this thread who thinks that there is Only One Right Way To
Do It should take a chill pill.  There is, in fact, more than one
right way to do it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: UNNEST with multiple args, and TABLE with multiple funcs
Next
From: Robert Haas
Date:
Subject: Re: Changing pg_dump default file format