Error trying to convert a JSON into an Infotable
Hello:
I'm using the snippet FROMJson to convert a JSON into an Infotable and I've already created the datashape that actually match the fields on the array of JSON Objects and I still getting this error:
Wrapped org.json.JSONException: JSONObject["dataShape"] not found. Cause: JSONObject["dataShape"] not found.
This is the code behind:
var params = {
json: "[{'name': 'Bidhan Chatterjee','email': 'bidhan@example.com'},{'name': 'Rameshwar Ghosh','email': 'datasoftonline@example.com'}]" /* JSON */
};
// result: INFOTABLE
var result = Resources["InfoTableFunctions"].FromJSON(params);
Thanks.

