Search notes:

ORA-40441: JSON syntax error

declare
   json_obj json_object_t;
begin
--
-- Note the missing quotes around `y` which cause the error:
--
   json_obj := json_object_t(  '{"x": y}'   );
end;
/

See also

Other Oracle error messages

Index