Re: strip nulls functions for json and jsonb

From: Thom Brown <thom(at)linux(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: strip nulls functions for json and jsonb
Date: 2014-10-26 20:14:17
Message-ID: CAA-aLv4NCxR7fxZDt2eLJUvPV3ENP-uTmF_cBJsfMWR4TX7nsA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 26 October 2014 20:07, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>
> On 10/26/2014 03:50 PM, Pavel Stehule wrote:
>
>> Hi
>>
>> I have a question,
>>
>> what is expected result of null strip of
>>
>> {"a": {"b": null, "c", null"} }
>>
>> ?
>>
>>
>
> Please remember not to top-post.
>
> The above is not legal json, so the answer would be an error.
>

I believe Pavel means:

{"a": {"b": null, "c": null} }

--
Thom

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-10-26 20:15:07 Re: Performance regression: 9.2+ vs. ScalarArrayOpExpr vs. ORDER BY
Previous Message Andrew Dunstan 2014-10-26 20:07:52 Re: strip nulls functions for json and jsonb