New json functions.

Andrew Dunstan <andrew@dunslane.net>

Commit: 105639900bf83fd3e3eb5b49f49b4d74d6347b9b
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2014-01-28T22:48:21Z
Releases: 9.4.0
New json functions.

json_build_array() and json_build_object allow for the construction of
arbitrarily complex json trees. json_object() turns a one or two
dimensional array, or two separate arrays, into a json_object of
name/value pairs, similarly to the hstore() function.
json_object_agg() aggregates its two arguments into a single json object
as name value pairs.

Catalog version bumped.

Andrew Dunstan, reviewed by Marko Tiikkaja.

Files