Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having trouble with the JSON file. #77

Open
ChriiMoral opened this issue Jan 18, 2024 · 1 comment
Open

Having trouble with the JSON file. #77

ChriiMoral opened this issue Jan 18, 2024 · 1 comment

Comments

@ChriiMoral
Copy link

In the Terminal, I get this error upon running wallpapper -i wallpapper.json:

Reading JSON file: 'file:///Users/chriimoral/Desktop/Dynamic/wallpapper.json'...OK.
Decoding JSON file...Error: Unexpected error occurs: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 3, column 14." UserInfo={NSDebugDescription=Invalid value around line 3, column 14., NSJSONSerializationErrorIndex=19})))

I've attatched my file in case anyone knows what I did wrong. For reference, I chose the Time Based format.

@COV-Steve
Copy link

First thing I see is that your file names are wrapped in curly quotes rather than straight quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants