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

additional json functionality

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: additional json functionality
Date: 2013-11-12 18:34:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
In the last year I have created a number of modules providing extra JSON 
functionality. I'd like to include some of these in release 9.4. 
Candidates for inclusion are:

json_build: which provides extra functionality for building up 
non-regualr and arbitrarily complex json, as well as a way of 
aggregating key value pairs as a json record. See 

json_object: take a one or two dimensional array of text and turn it 
into a json object, similar to the way hstore currently does. See 

json_to_record: turn json into a record or recordset, using the same 
logic as json_pupolate_record and json_populate_recordset, but inferring 
the return type from the call instead of from the first argument. See 

json_build is probably the most important in terms of additional 

Both json_build and json_to_record have had to copy non-exposed parts of 
the internal Json code, which is one of the many reasons I would like to 
include them, particularly. These extensions have all been created in 
response to client requirements, so there is a definiite use case for 
all of them.

If there's agreement on taking these, I will prepare patches and submit 
them by the 15th.




pgsql-hackers by date

Next:From: Teodor SigaevDate: 2013-11-12 18:35:31
Subject: nested hstore patch
Previous:From: Andres FreundDate: 2013-11-12 18:30:02
Subject: Re: better atomics - spinlock fallback?

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