Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: adeebulhafiz on May 24, 2022, 12:12:27 am
-
Hi Is there any way to read JSON file via JScript?
I am able to read a text file like this:
var fso, f1;
fso = new ActiveXObject("Scripting.FileSystemObject");
f1 = fso.OpenTextFile("c:\\EA\\test.txt");
var ScriptName = f1.ReadLine();
However, I would like to take inputs from a JSON file. Is there any way to do it. Thanks!
EA version: 15.2 Unified Edition