Skip site navigation (1) Skip section navigation (2)

Re: JSON for PG 9.2

From: Joey Adams <joeyadams3(dot)14159(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Claes Jakobsson <claes(at)surfar(dot)nu>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Jan Urbański <wulczer(at)wulczer(dot)org>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>, Jan Wieck <janwieck(at)yahoo(dot)com>
Subject: Re: JSON for PG 9.2
Date: 2012-01-12 14:00:51
Message-ID: CAARyMpAzDLEAQT31QYwTxPJBfKkmXiAZ3+WR6iOFDgQhOj96Jg@mail.gmail.com (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2012-01-12 14:13:24
Subject: Re: log messages for archive recovery progress
Previous:From: Kevin GrittnerDate: 2012-01-12 13:11:23
Subject: Re: Remembering bug #6123

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group