Re: JSON for PG 9.2 - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: JSON for PG 9.2
Date
Msg-id 4F1DDFF8.1000601@dunslane.net
Whole thread Raw
In response to Re: JSON for PG 9.2  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers

On 01/23/2012 05:21 PM, Merlin Moncure wrote:
> On Sun, Jan 15, 2012 at 10:08 AM, Andrew Dunstan<andrew@dunslane.net>  wrote:
>> Here's an update that adds row_to_json, plus a bit more cleanup.
> why not call all these functions 'to_json' and overload them?
>


I don't honestly feel that advances clarity much. And we might want to 
overload each at some stage with options that are specific to the datum 
type. We have various foo_to_xml() functions now.

cheers

andrew


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: JSON for PG 9.2
Next
From: Pavel Stehule
Date:
Subject: Re: JSON for PG 9.2