Re: additional json functionality

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: additional json functionality
Дата
Msg-id CA+TgmoaERPm7YT0bxi_c1dvoz5sWGzRWzwcAFRtj0oCFhrUpFQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: additional json functionality  (Hannu Krosing <hannu@2ndQuadrant.com>)
Ответы Re: additional json functionality  ("David E. Wheeler" <david@justatheory.com>)
Re: additional json functionality  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: UNNEST with multiple args, and TABLE with multiple funcs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Changing pg_dump default file format