That’s not valid JSON.
A json objects start with { and end with }
e.g.
{
"mail": {
"transport": "test"
}
}
I went ahead and fixed the initial json you posted, there were a bunch of syntax errors:
{
"url": "https://mydomain.com",
"server": {
"port": 2368,
"host": "127.0.0.1"
},
"database": {
"client": "mysql",
"connection": {
"host": "localhost",
"user": "ghost-456",
"password": "REDACTED",
"port": 3306,
"database": "ghost_production"
}
},
"mail": {
"from": "vanessa <noreply @ DOMAIN>",
"transport": "SMTP",
"options": {
"service": "Mailgun",
"host": "smtp.mailgun.org",
"port": 465,
"secureConnection": true,
"auth": {
"user": "TKTKTK@gmail.com",
"pass": "REDACTED"
}
}
},
"transport": "Direct",
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/www/ghost/content"
}
}