如何将json_array与Oracle Rest Data Service一起使用

时间:2018-06-14 03:32:56

标签: json oracle rest

我使用此查询创建了REST开发

select 'test' as "name", json_array(1,2,3,4,5,6,7,8) as "data" from dual;

从ORDS获得结果时

"items": [ { "name": "test", "data": "[1,2,3,4,5,6,7,8]" } ]

但是如何在没有["]的情况下从json_array获取数据

"items": [ { "name": "test", "data": [1,2,3,4,5,6,7,8] } ]

0 个答案:

没有答案