mczachurski / wallpapper

:computer: Console application for creating dynamic wallpapers for macOS Mojave and newer
MIT License
3.31k stars 137 forks source link

Badly formed object around charecter 158 #23

Closed aduval1998 closed 5 years ago

aduval1998 commented 5 years ago

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 },

aduval1998 commented 5 years ago

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/