mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Badly formed object around charecter 158

aduval1998 opened this issue · comments

Hi, Im not very good at this sort of things, having problems with my json file. Any help would be appreciated. My problem is when I run the wallpapper -i command I get "Badly formed object around character 158." Charecter 158 is the "{"between file 1 and 2 data sets. I have tried removing the comma (',') but that hasn't worked either.

[
{
"fileName": "wallpaper1.png",
"isPrimary": false,
"isForLight": false,
"isForDark": false,
"altitude": -21.03,
"azimuth": 117.84.
},
{
"fileName": "wallpaper2.png",
"isPrimary": false,
"isForLight": false,
"isForDark": false,
"altitude": -3.34,
"azimuth": 103.80
},

I figured out my problem. I had one or two errors involving placement of commas and full stops. Becasue I'm new to this I had no idea they were errors, I used this website which pointed out my errors. http://zaa.ch/jsonlint/