Re: [BUGS] json and jsonb bug report - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: [BUGS] json and jsonb bug report
Date
Msg-id CAKFQuwY6ThG_WyFTS-VLt8ZyxNcSZJOXqGx3zZegYU5cPN8CfA@mail.gmail.com
Whole thread Raw
In response to [BUGS] json and jsonb bug report  (Atsushi Ide <atsushi.530@gmail.com>)
List pgsql-bugs
On Sunday, August 20, 2017, Atsushi Ide <atsushi.530@gmail.com> wrote:
Hi

I found a bug in json and jsonb with null value.

select '{"a":null}'::json;
select '{"a":null}'::jsonb;

it's OK, but followings are returned error.

select '{"a":NULL}'::json;
select '{"a":NULL}'::jsonb;

please fix this bug


 
According to the RFC JSON null is written in all lower case.


Based on that I'd say there is no bug in what you've shown,

David J.

pgsql-bugs by date:

Previous
From: Atsushi Ide
Date:
Subject: [BUGS] json and jsonb bug report
Next
From: nithinkrishna.p@gmail.com
Date:
Subject: [BUGS] BUG #14786: Wrong Precision with money datatype