Ventoy Forums

Full Version: [SOLVED] Syntax error on Boot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get always a Syntax error whene i boot ventoy. I dont find the issues.

Here my ventoy.json

Code:
{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "1" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" }
    ],
   
    "theme": {
        "file": "/ventoy/theme/Tela/theme.txt",
        "gfxmode": "1920x1080"
    },
   
"menu_class" : [
       {
            "key": "Windows_19043",
            "class": "windows10"
        },
{
            "key": "Windows_21390",
            "class": "windows10"
        },     
       {
            "key": "linuxmint",
            "class": "linuxmint"
        },                  
       {
            "key": "AcronisTrueImage2021",
            "class": "acronis"
        },       
       {
            "key": "AOMEI_Backupper",
            "class": "aomei"
        },       
       {
            "key": "elementaryos",
            "class": "elementary"
        },       
       {
            "key": "Hasleo_Backup",
            "class": "hasleo"
        },       
       {
            "key": "UltimateBootCD",
            "class": "ubcd"
        },       
       {
            "key": "memtest86-usb",
            "class": "memtest"
        },       
{
            "key": "ventoy-livecd",
            "class": "ventoy"
        },            
{
            "key": "WinPE10_Sergei_Strelec",
            "class": "windows10"
        },
    ]
}
{
            "key": "WinPE10_Sergei_Strelec",
            "class": "windows10"
        }, <------------------- Delete this comma
    ]
Some online tools will give you more details about the syntax error. For example:
https://www.json.cn
http://json.parser.online.fr

Always check the json file with them before boot.
(06-23-2021, 06:09 AM)longpanda Wrote: [ -> ]{
            "key": "WinPE10_Sergei_Strelec",
            "class": "windows10"
        }, <------------------- Delete this comma
    ]

Thx working.