When I am reading a json file that includes empty objects using fromJSON function, it crashes closing the application without any error message:
test3.json:
{
"ingedient_names" : [
[],
[]
]
}
I am running 2025.1.0 but the same file was ok under Scilab2024.1.0:
--> res=fromJSON("C:\scilab\test3.json","file")
res = [struct] with fields:
ingredient_names: (2-elements list)
(1) = []
(2) = []
Of course my original files are more interesting with useful non-empty fields and even these are supposed to be list of strings but in some cases it can be as shown. I was able to isolate my crash problem to this specific section of the json file.
Thank you for your help