Reading json file with empty objects

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

Hello, and welcome to Scilab’s Discourse !

I confirm the problem under macOS:

toJSON(struct("ingredient_names",list([],[])),"test3.json");
fromJSON("test3.json","file")

Second line crashes Scilab 2025.1, but run fines under Scilab 2025.0:

--> getversion

 ans = 

  "scilab-2025.0.0"

--> toJSON(struct("ingredient_names",list([],[])),"test3.json");

--> fromJSON("test3.json","file")

 ans = [struct] with fields:

  ingredient_names: (2-elements list)
      (1) = []
      (2) = []

Can you create an issue at Issues · scilab / scilab · GitLab with the above code and saying that it is a regression introduced by Scilab 2025.1.0 ?

S.

Sure! Thank you for taking the time to check.
Eric