Idea Summary
When creating a REST Data Source I am required to enter a “Row Selector.” This value, however, is not treated as the final row selector--the APEX engine puts double quotes around what I enter when it creates its JSON_TABLE statement. Hence
result.*
becomes
“result”."*"
in the json_table statement.
This makes it impossible to have the declarative REST data source work.
Use Case
The JSON below is an example.
{
"header": {
"type": "esummary",
"version": "0.3"
},
"result": {
"35189561": {
"uid": "35189561",
"pubdate": "2022 Mar 15",
"epubdate": "2022 Feb 15",
"lastauthor": "Gomika Udugamasooriya D",
"title": "Unbiased peptoid cell screen identifies a peptoid targeting newly appeared cell surface vimentin on tumor transformed early lung cancer cells."
},
"35288734": {
"uid": "35288734",
"pubdate": "2022 Mar 15",
"epubdate": "",
"lastauthor": "Minna JD",
"title": "Lung Cancer Cell of Origin: Controversy and Clinical Translational Implications."
}
}
…
Preferred Solution (Optional)
Stop putting double quotes around the row selector.