Why am I getting an 'Invalid JSON: Unexpected Token' error in my Envy theme settings?

My theme is Envy version 19.5.4. I am adding a code of different theme settings in the theme. but I have an error on setting schema JSON. I’m getting the Error: Invalid JSON: unexpected token error. I’m a saboor - but not a total newbie, so please help is appreciated.

this is the code:

{
“name”: “custom image”,
“settings”: [
{
“type”: “image_picker”,
“id”: “custom_image”,
“label”: “custom image”,
“info”: “set a custom image on theme file”
}
]

Hi,

Looks like you have a missing } at the end of your json. Add it and it should be ok.

1 Like
{
    "name": "custom image",
    "settings": [
            {
                "type": "image_picker",
                "id": "custom_image",
                "label": "custom image",
                "info": "set a custom image on theme file"
            }
        ]
}
1 Like

Thank you