aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2014-12-12 09:00:43 -0500
committerAndrew Dunstan <andrew@dunslane.net>2014-12-12 09:00:43 -0500
commit237a8824430c607fce1eafde0c625744d50a455c (patch)
treee8f0fcf9806697ef2754e83b24815a2c97af363d /src/backend/utils/adt/json.c
parentb1332e98c441b40300670f55a4303bf69cd8b226 (diff)
downloadpostgresql-237a8824430c607fce1eafde0c625744d50a455c.tar.gz
postgresql-237a8824430c607fce1eafde0c625744d50a455c.zip
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.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions