在 Oracle 21c 中,看起来我们可以以 JSON 文本形式返回结果集:
SELECT json_object(*) from dual; result: {"DUMMY":"X"}
这适用于db<>fiddle:
问题:
有没有办法使用漂亮的格式返回 JSON 文本?
{ "DUMMY":"X" }
相关:使用 SQL 选择 SDO_GEOMETRY 的 JSON 文本
oracle json oracle-21c
json ×1
oracle ×1
oracle-21c ×1