Service Script snippets
External Resources
Create an InfoTable from JSON
let my_it_json = {
dataShape: {
fieldDefinitions: {
'name': {
name: 'name',
baseType: 'STRING',
ordinal: 0
},
'description': {
name: 'description',
baseType: 'STRING',
ordinal: 1
},
}
},
rows: []
};
let my_it = Resources["InfoTableFunctions"].FromJSON({
json: it_json
});