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

From Joey Adams
Subject Re: JSON for PG 9.2
Date
Msg-id CAARyMpAzDLEAQT31QYwTxPJBfKkmXiAZ3+WR6iOFDgQhOj96Jg@mail.gmail.com
Whole thread Raw
In response to Re: JSON for PG 9.2  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: JSON for PG 9.2  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
I wrote an array_to_json function during GSoC 2010:
   http://git.postgresql.org/gitweb/?p=json-datatype.git;a=blob;f=json_io.c#l289

It's not exposed as a procedure called array_to_json: it's part of the
to_json function, which decides what to do based on the argument type.

- Joey


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Remembering bug #6123
Next
From: Robert Haas
Date:
Subject: Re: log messages for archive recovery progress