When running the CLI using the Hint validator for a SQL file with the following content:
select /*+ fast */ /*+ leading(emp dep) */ *
from emp e
join dept d on d.deptno = e.deptno;
select * from dbms_xplan.display_cursor(format => 'basic +hint_report');
You see that "fast" should be escaped to \"fast\" to make the JSON document valid.
Even if this bug is caused by the Hint validator the code producing the JSON file is responsible to produce a valid JSON format. So it's a bug of the CLI.
When running the CLI using the
Hint
validator for a SQL file with the following content:when get the following JSON output (excerpt):
You see that
"fast"
should be escaped to\"fast\"
to make the JSON document valid.Even if this bug is caused by the Hint validator the code producing the JSON file is responsible to produce a valid JSON format. So it's a bug of the CLI.