title: Querying for JSON data in Oracle creates syntax error
body: <p>using Oracle documentation (<a href="https://docs.oracle.com/database/122/ADJSN/condition-JSON_EXISTS.htm#ADJSN-GUID-8A0043D5-95F8-4918-9126-F86FB0E203F0" rel="nofollow noreferrer">Link here</a>) I tried to query the table with JSON data for existance of some value.</p>
  
  <p>Example JSON data in column looks like this:</p>
  
  <blockquote>
    <p>[{"id":"14843"},{"id":"14103"},{"id":"16632"},{"id":"14776"},{"id":"14658"},{"id":"14426"},{"id":"14838"},{"id":"14834"},{"id":"14804"},{"id":"14803"},{"id":"14802"},{"id":"14801"},{"id":"14779"},{"id":"14767"},{"id":"16013"},{"id":"15980"},{"id":"15979"},{"id":"15978"},{"id":"15977"},{"id":"15976"},{"id":"15975"},{"id":"15974"},{"id":"15973"},{"id":"15972"},{"id":"15971"},{"id":"15970"},{"id":"15969"},{"id":"15968"},{"id":"15967"},{"id":"15966"},{"id":"15965"},{"id":"15964"},{"id":"15963"},{"id":"15962"},{"id":"15961"},{"id":"15960"},{"id":"16012"},{"id":"15903"}]</p>
  </blockquote>
  
  <p>I want to get row where this JSON data contains some particular value.
  I tried query like this:</p>
  
  <pre><code>SELECT * FROM SOME_TABLE WHERE json_exists(JSON_COLUMN, '$.id?(@ == 16632)');
  </code></pre>
  
  <p>According to documentation the syntax is proper but Oracle SQL Developer gives me error </p>
  
  <pre><code>ORA-40442: Błąd składni wyrażenia ścieżki JSON
  40442. 00000 -  "JSON path expression syntax error"
  *Cause:    The provided JavaScript Object Notation (JSON) path expression
             had an invalid syntax and could not be parsed.
  *Action:   Provide JSON path expression with the correct syntax. Error at Line: 1 Column: 76
  </code></pre>
  
  <p>I even tried to copy <code>'$.LineItems?(@.Part.UPCCode == 85391628927)'</code> from documentation and it still gives the same error.
  Can you tell me what is wrong with this syntax?</p>
  
  <p>EDIT:
  All the versions I tried (which all give the same error):</p>
  
  <pre><code>SELECT * FROM SOME_TABLE WHERE json_exists(JSON_COLUMN, '$.id?(@ == "16632")');
  SELECT * FROM SOME_TABLE WHERE json_exists(JSON_COLUMN, '$?(@.id == "16632")');
  SELECT * FROM SOME_TABLE WHERE json_exists(JSON_COLUMN, '$?(@.id == 16632)');
  </code></pre>