Re: JSON NULL handling
Posted by: Philippe Riand
Date: January 03, 2019 07:24AM

Thanks for the workaround, but I still believe that this is a bug. The workaround ie heavyweight and does not properly handle the case when the it extracts the string value 'NULL'.
The combination of JSON_EXTRACT & JSON_UNQUOTE is actually a weird one, compared to what the other DBs are offering for handling JSON. It should feature a JSON_VALUE that returns a scalar value (see postgresql jsonb_extract_path_text, DB2 JSON_VAL or sqlserver JSON_VALUE)

Options: ReplyQuote


Subject
Views
Written By
Posted
13956
October 29, 2018 06:54PM
3040
January 03, 2019 02:54AM
Re: JSON NULL handling
2403
January 03, 2019 07:24AM
2081
January 03, 2019 08:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.