Add json_strip_nulls and jsonb_strip_nulls functions.

Andrew Dunstan <andrew@dunslane.net>

Commit: 237a8824430c607fce1eafde0c625744d50a455c
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2014-12-12T14:00:43Z
Releases: 9.5.0
Add json_strip_nulls and jsonb_strip_nulls functions.

The functions remove object fields, including in nested objects, that
have null as a value. In certain cases this can lead to considerably
smaller datums, with no loss of semantic information.

Andrew Dunstan, reviewed by Pavel Stehule.

Files