FCLT#84701 prs_bedrijfadres_template toevoeging

svn path=/Website/trunk/; revision=70435
This commit is contained in:
Jos Groot Lipman
2025-09-29 11:19:21 +00:00
parent e57c72e09b
commit c4f07053d2

View File

@@ -794,6 +794,21 @@ var shared = {
__DoLog("Open AI ERROR: " + e.description + " (" + duration + "ms)", "#FF0000");
}
return result;
},
readJSONfile: function (path)
{
try
{
var ff = fso.OpenTextFile(path, 1); // ForReading
var jsondata = ff.ReadAll();
ff.Close();
return JSON.parse(jsondata);
}
catch (e)
{
__DoLog(jsondata);
_AiAi("readJSONfile parse error for file {0}: {1}".format(path, e.message));
}
}
};