> On 13 October 2017 at 15:48, Michael Paquier <
michael.paquier@gmail.com> wrote:
>
> it is perfectly valid to have something like json_build_array('2', NULL) or
> json_build_object('1', NULL), because there can be NULL values in JSON
> strings. What we just need to be careful here is to check if the array
> is NULL or not in a variadic call, and just return NULL in this case.
Oh, indeed, I agree.