Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Syntax error on Boot
#1
solved 
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"
        },
    ]
}
Reply
#2
{
            "key": "WinPE10_Sergei_Strelec",
            "class": "windows10"
        }, <------------------- Delete this comma
    ]
Reply
#3
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.
Reply
#4
(06-23-2021, 06:09 AM)longpanda Wrote: {
            "key": "WinPE10_Sergei_Strelec",
            "class": "windows10"
        }, <------------------- Delete this comma
    ]

Thx working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)