ORA-40596: Error Occurred In JSON Processing
(Doc ID 2484443.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Standard Edition - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
A SELECT statement using the JSON_TABLE operator fails with errors:
select jt.*
from (select '[{"p":["l1", "l2"], "v":"v1"}, {"v":["v2", "v3"]}]' po_data
from dual) t,
json_table( po_data, '$[*]' COLUMNS(
"v" PATH '$.v',
NESTED PATH '$.v[*]' COLUMNS(
"v-array" varchar2 PATH '$'
),
NESTED PATH '$.p[*]' COLUMNS(
"p" PATH '$' jt
order by rownum;
ERROR
-----------------------
json_table( po_data, '$[*]' COLUMNS(
*
ERROR at line 4:
ORA-40596: error occurred in JSON processing
jzntSCV1:invEvent
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |