The error message "Invalid value around line 1, column 0." is consistent with having invalid bytes at the very start of the file. Maybe there are some non-printing (invisible) characters there for some reason? (I initially thought byte order mark, but that seems to work fine.) Try examining the file directly via this command:
$ hexdump -C <path-to-your-JSON-file> | head -1
The expected output is exactly this:
00000000 5b 7b 0a 20 20 20 20 22 4e 61 6d 65 22 3a 22 49 |[{. "Name":"I|
If the first character isn’t the opening square bracket, that’s bad. Let us know what it shows.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: