JSON_TABLE , introduced in 12.2, "enables the creation of an inline relational view of JSON content. The JSON_TABLE operator uses a set of JSON path expressions to map content from a JSON document into columns in the view. Once the contents of the JSON document have been exposed as columns, all of the power of SQL can be brought to bear on the content of JSON document." Step 1: Invoking a RESTful Style Web Service. Step 2: First, we need to get the structure of the JSON response returned by apex_web_service.make_rest_request. I then formatted the JSON as below, Formatted JSON: (Projecting Array Elements using NESTED) [ { "state": "Andaman and Nicobar Islands", "statecode": "AN", "districtData": [ { "district": "Nicobars", "notes": "", "active": 0, ...
by Karkuvelraja Thangamariappan ♠ (@tkarkuvelraja)